docs: changes to broadcast documentation am: 3e422ac3cc am: 276e436a24 am: ec5096b07a

am: f92e4912ea

Change-Id: I2dcb6bc7f8ebf385bc7d6a571a760c140a65e9fb
This commit is contained in:
Mark Lu
2016-12-16 05:30:20 +00:00
committed by android-build-merger

View File

@@ -87,6 +87,13 @@ public class ConnectivityManager {
* sent as an extra; it should be consulted to see what kind of
* connectivity event occurred.
* <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
* disconnected network, then the FAILOVER_CONNECTION boolean extra is
* set to true.