public class ReceiverCallNotAllowedException extends AndroidRuntimeException
Context.registerReceiver(android.content.BroadcastReceiver, android.content.IntentFilter)
and
Context.bindService(android.content.Intent, android.content.ServiceConnection, int)
when these methods are being used from
an BroadcastReceiver
component. In this case, the component will no
longer be active upon returning from receiving the Intent, so it is
not valid to use asynchronous APIs.Constructor and Description |
---|
ReceiverCallNotAllowedException(String msg) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ReceiverCallNotAllowedException(String msg)