ReceiverRestrictedContextpublic class ReceiverRestrictedContext extends android.content.ContextWrapper
Methods Summary |
---|
public boolean | bindService(android.content.Intent service, android.content.ServiceConnection conn, int flags)
throw new ReceiverCallNotAllowedException(
"IntentReceiver components are not allowed to bind to services");
//ex.fillInStackTrace();
//Log.e("IntentReceiver", ex.getMessage(), ex);
//return mContext.bindService(service, interfaceName, conn, flags);
| public android.content.Intent | registerReceiver(android.content.BroadcastReceiver receiver, android.content.IntentFilter filter)
return registerReceiver(receiver, filter, null, null);
| public android.content.Intent | registerReceiver(android.content.BroadcastReceiver receiver, android.content.IntentFilter filter, java.lang.String broadcastPermission, android.os.Handler scheduler)
throw new ReceiverCallNotAllowedException(
"IntentReceiver components are not allowed to register to receive intents");
//ex.fillInStackTrace();
//Log.e("IntentReceiver", ex.getMessage(), ex);
//return mContext.registerReceiver(receiver, filter, broadcastPermission,
// scheduler);
|
|