diff --git a/docs/html/preview/behavior-changes.jd b/docs/html/preview/behavior-changes.jd index 5c42772241bbb..6873c92ce977d 100644 --- a/docs/html/preview/behavior-changes.jd +++ b/docs/html/preview/behavior-changes.jd @@ -88,7 +88,7 @@ page.image=images/cards/card-n-changes_2x.png shuts off app network access, and defers jobs and syncs. If the device is stationary for a certain time after entering Doze, the system applies the rest of the Doze restrictions to {@link android.os.PowerManager.WakeLock}, - {@link android.app.AlarmManager} alarms, GPS, and Wi-Fi scans.. Regardless of + {@link android.app.AlarmManager} alarms, GPS, and Wi-Fi scans. Regardless of whether some or all Doze restrictions are being applied, the system wakes the device for brief maintenance windows, during which applications are allowed network access and can execute any deferred jobs/syncs. @@ -107,7 +107,7 @@ page.image=images/cards/card-n-changes_2x.png removes these processing restrictions. The additional behavior does not affect recommendations and best practices in adapting your app to the prior version of Doze introduced in Android 6.0 (API level 23), as discussed in - + Optimizing for Doze and App Standby. You should still follow those recommendations, such as using Google Cloud Messaging (GCM) to send and receive messages, and start planning updates to accomodate the @@ -345,9 +345,10 @@ page.image=images/cards/card-n-changes_2x.png
  • The {@code ArrayList} private field array is removed.

    If your app, or a library it used, was dependent on a private field of - the ArrayList class, you may encounter an exception such as: + the ArrayList class, you may encounter an exception such as:

    -
    +
    +
     java.lang.NoSuchFieldException: No field array in class Ljava/util/ArrayList;
     
  • @@ -370,8 +371,8 @@ java.lang.NoSuchFieldException: No field array in class Ljava/util/ArrayList;

    The reason apps use this provider is to take advantage of its - SecureRandom implementation. If your app was relying on setSeed() to - derive keys from strings, you must either switch to using SecretKeySpec + SecureRandom implementation. If your app was relying on setSeed() to + derive keys from strings, you must either switch to using SecretKeySpec to load raw key bytes directly, or use a real key derivation function (KDF).

    @@ -428,13 +429,13 @@ java.lang.NoSuchFieldException: No field array in class Ljava/util/ArrayList;

    Example Java error:

    -
    +
     java.lang.UnsatisfiedLinkError: dlopen failed: library "/system/lib/libcutils.so"
         is not accessible for the namespace "classloader-namespace"
     

    Example NDK error:

    -
    +
     dlopen failed: cannot locate symbol "__system_property_get" referenced by ...
     
    @@ -446,7 +447,7 @@ dlopen failed: cannot locate symbol "__system_property_get" referenced by ... +

    + For more information about changes to Android for Work in Android N, see + Android for Work Updates. +

    +

    Other important points