The transient nature of a statically registered BroadcastReceiver means that its onReceive() method cannot use any functionality
which is asynchronous, for example,
binding to a ServiceThis constraint is enforced by the implementation of the Context passed to the method at runtime. For example, its implementation of the bindService()
method throws a RuntimeException.
Share with your friends: