docs: changes to broadcast documentation
am: 3e422ac3cc
Change-Id: I673efc100756ee6d6ef0d2afa99d48d471ce0987
This commit is contained in:
@@ -87,6 +87,13 @@ public class ConnectivityManager {
|
|||||||
* sent as an extra; it should be consulted to see what kind of
|
* sent as an extra; it should be consulted to see what kind of
|
||||||
* connectivity event occurred.
|
* connectivity event occurred.
|
||||||
* <p/>
|
* <p/>
|
||||||
|
* Apps targeting Android 7.0 (API level 24) and higher do not receive this
|
||||||
|
* broadcast if they declare the broadcast receiver in their manifest. Apps
|
||||||
|
* will still receive broadcasts if they register their
|
||||||
|
* {@link android.content.BroadcastReceiver} with
|
||||||
|
* {@link android.content.Context#registerReceiver Context.registerReceiver()}
|
||||||
|
* and that context is still valid.
|
||||||
|
* <p/>
|
||||||
* If this is a connection that was the result of failing over from a
|
* If this is a connection that was the result of failing over from a
|
||||||
* disconnected network, then the FAILOVER_CONNECTION boolean extra is
|
* disconnected network, then the FAILOVER_CONNECTION boolean extra is
|
||||||
* set to true.
|
* set to true.
|
||||||
|
|||||||
Reference in New Issue
Block a user