diff --git a/docs/html/preview/behavior-changes.jd b/docs/html/preview/behavior-changes.jd index 0d93b53d3ab80..bc7dbc735d494 100644 --- a/docs/html/preview/behavior-changes.jd +++ b/docs/html/preview/behavior-changes.jd @@ -163,12 +163,8 @@ page.image=images/cards/card-n-changes_2x.png -
- In general, apps should remove dependence on manifest-declared receivers - for implicit broadcasts as well as on background services. -
- -+
If your app uses any of these intents, you should remove dependencies + on them as soon as possible so that you can target Android N devices properly. The Android framework provides several solutions to mitigate the need for these implicit broadcasts or background services. For example, the {@link android.app.job.JobScheduler} API provides a robust mechanism to schedule diff --git a/docs/html/preview/features/background-optimization.jd b/docs/html/preview/features/background-optimization.jd index 4bcf78552563f..e415bd300c991 100644 --- a/docs/html/preview/features/background-optimization.jd +++ b/docs/html/preview/features/background-optimization.jd @@ -52,7 +52,7 @@ page.keywords="android N", "implicit broadcasts", "job scheduler"
- To alleviate this issue, the N Developer Preview applies the following + To alleviate this issue, Android N applies the following restrictions:
@@ -73,6 +73,8 @@ page.keywords="android N", "implicit broadcasts", "job scheduler"
+ If your app uses any of these intents, you should remove dependencies on
+ them as soon as possible so that you can target Android N devices properly.
The Android framework provides several solutions to mitigate the need for
these implicit broadcasts. For example, {@link android.app.job.JobScheduler}
and
- Apps targeting the N Developer Preview do not receive {@link
+ Apps targeting the Android N do not receive {@link
android.net.ConnectivityManager#CONNECTIVITY_ACTION} broadcasts if they
register to receive them in their manifest, and processes that depend on this
broadcast will not start. This could pose a problem for apps that want
@@ -195,11 +197,11 @@ public static void scheduleJob(Context context) {
- In the N Developer Preview, apps are not able to send or receive {@link
+ In the Android N, apps are not able to send or receive {@link
android.hardware.Camera#ACTION_NEW_PICTURE} or {@link
android.hardware.Camera#ACTION_NEW_VIDEO} broadcasts. This restriction helps
alleviate the performance and user experience impacts when several apps must
- wake up in order to process a new image or video. The N Developer Preview
+ wake up in order to process a new image or video. Android N
extends {@link android.app.job.JobInfo} and {@link
android.app.job.JobParameters} to provide an alternative solution.
- To trigger jobs on content URI changes, the N Developer Preview extends
+ To trigger jobs on content URI changes, Android N extends
the {@link android.app.job.JobInfo} API with the following methods:
- The N Developer Preview also extends {@link android.app.job.JobParameters} to
+ Android N also extends {@link android.app.job.JobParameters} to
allow your app to receive useful information about what content authorities
and URIs triggered the job:
- The N Developer Preview introduces some additional Android Debug Bridge (ADB) commands that you can use to test app behavior with those background processes disabled: