Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d1beeb0d authored by narinder Rana's avatar narinder Rana
Browse files

debugging for intent null or intent action is null

parent 9afdf4f0
Loading
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -242,6 +242,12 @@ public class OperationManagerService extends Service implements OnRemoteOperatio
        try{
        try{
            CommonUtils.setServiceUnCaughtExceptionHandler(this);
            CommonUtils.setServiceUnCaughtExceptionHandler(this);


            if (null == intent || null == intent.getAction ()) {
                String source = null == intent ? "intent" : "action";
                Log.e (TAG, source + " was null, flags=" + flags + " bits=" + Integer.toBinaryString (flags));
                return START_STICKY;
            }

            Bundle extras = intent.getExtras();
            Bundle extras = intent.getExtras();
            Log.d(TAG, "OperationManagerService recieved "+(extras == null ? "null extras": extras.size()+" operations to perform") );
            Log.d(TAG, "OperationManagerService recieved "+(extras == null ? "null extras": extras.size()+" operations to perform") );