Loading docs/html/preview/behavior-changes.jd +3 −4 Original line number Diff line number Diff line Loading @@ -156,10 +156,9 @@ page.image=images/cards/card-n-changes_2x.png <ul> <li>Apps targeting Android N do not receive {@link android.net.ConnectivityManager#CONNECTIVITY_ACTION} broadcasts, even if they have manifest entries to request notification of these events. Apps running in the foreground can still listen for {@code CONNECTIVITY_CHANGE} on their main thread if they request notification with a {@link android.content.BroadcastReceiver}. have manifest entries to request notification of these events. Apps that are running can still listen for {@code CONNECTIVITY_CHANGE} on their main thread if they request notification with a {@link android.content.BroadcastReceiver}. </li> <li>Apps cannot send or receive {@link Loading docs/html/preview/features/background-optimization.jd +5 −6 Original line number Diff line number Diff line Loading @@ -59,9 +59,9 @@ page.keywords="android N", "implicit broadcasts", "job scheduler" <ul> <li>Apps targeting the Preview do not receive {@link android.net.ConnectivityManager#CONNECTIVITY_ACTION} broadcasts if they register to receive them in their manifest. Apps running in the foreground can still listen for {@code CONNECTIVITY_CHANGE} on their main thread by registering a {@link android.content.BroadcastReceiver} with {@link register to receive them in their manifest. Apps that are running can still listen for {@code CONNECTIVITY_CHANGE} on their main thread by registering a {@link android.content.BroadcastReceiver} with {@link android.content.Context#registerReceiver Context.registerReceiver()}. </li> Loading Loading @@ -165,9 +165,8 @@ public static void scheduleJob(Context context) { </h3> <p> Apps running in the foreground can still listen for {@code CONNECTIVITY_CHANGE} with a registered {@link android.content.BroadcastReceiver}. However, the {@link Apps that are running can still listen for {@code CONNECTIVITY_CHANGE} with a registered {@link android.content.BroadcastReceiver}. However, the {@link android.net.ConnectivityManager} API provides a more robust method to request a callback only when specified network conditions are met. </p> Loading Loading
docs/html/preview/behavior-changes.jd +3 −4 Original line number Diff line number Diff line Loading @@ -156,10 +156,9 @@ page.image=images/cards/card-n-changes_2x.png <ul> <li>Apps targeting Android N do not receive {@link android.net.ConnectivityManager#CONNECTIVITY_ACTION} broadcasts, even if they have manifest entries to request notification of these events. Apps running in the foreground can still listen for {@code CONNECTIVITY_CHANGE} on their main thread if they request notification with a {@link android.content.BroadcastReceiver}. have manifest entries to request notification of these events. Apps that are running can still listen for {@code CONNECTIVITY_CHANGE} on their main thread if they request notification with a {@link android.content.BroadcastReceiver}. </li> <li>Apps cannot send or receive {@link Loading
docs/html/preview/features/background-optimization.jd +5 −6 Original line number Diff line number Diff line Loading @@ -59,9 +59,9 @@ page.keywords="android N", "implicit broadcasts", "job scheduler" <ul> <li>Apps targeting the Preview do not receive {@link android.net.ConnectivityManager#CONNECTIVITY_ACTION} broadcasts if they register to receive them in their manifest. Apps running in the foreground can still listen for {@code CONNECTIVITY_CHANGE} on their main thread by registering a {@link android.content.BroadcastReceiver} with {@link register to receive them in their manifest. Apps that are running can still listen for {@code CONNECTIVITY_CHANGE} on their main thread by registering a {@link android.content.BroadcastReceiver} with {@link android.content.Context#registerReceiver Context.registerReceiver()}. </li> Loading Loading @@ -165,9 +165,8 @@ public static void scheduleJob(Context context) { </h3> <p> Apps running in the foreground can still listen for {@code CONNECTIVITY_CHANGE} with a registered {@link android.content.BroadcastReceiver}. However, the {@link Apps that are running can still listen for {@code CONNECTIVITY_CHANGE} with a registered {@link android.content.BroadcastReceiver}. However, the {@link android.net.ConnectivityManager} API provides a more robust method to request a callback only when specified network conditions are met. </p> Loading