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

debugging for intent null or intent action is null

parent 9afdf4f0
Pipeline #99895 passed with stage
in 3 minutes and 1 second
......@@ -242,6 +242,12 @@ public class OperationManagerService extends Service implements OnRemoteOperatio
try{
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();
Log.d(TAG, "OperationManagerService recieved "+(extras == null ? "null extras": extras.size()+" operations to perform") );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment