diff options
Diffstat (limited to 'core/java/android/os')
-rw-r--r-- | core/java/android/os/Build.java | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/core/java/android/os/Build.java b/core/java/android/os/Build.java index 88eb280..114a1ea 100644 --- a/core/java/android/os/Build.java +++ b/core/java/android/os/Build.java @@ -438,17 +438,28 @@ public class Build { public static final int JELLY_BEAN_MR2 = 18; /** - * Android X.X: KitKat, another tasty treat. + * Android 4.4: KitKat, another tasty treat. * * <p>Applications targeting this or a later release will get these * new changes in behavior:</p> * <ul> - * <li>It is no longer allowed to use implicit intents with - * {@link android.content.Context#startService} or - * {@link android.content.Context#bindService}. + * <li> The default result of {android.preference.PreferenceActivity#isValidFragment + * PreferenceActivity.isValueFragment} becomes false instead of true.</li> + * <li> In {@link android.webkit.WebView}, apps targeting earlier versions will have + * JS URLs evaluated directly and any result of the evaluation will not replace + * the current page content. Apps targetting KITKAT or later that load a JS URL will + * have the result of that URL replace the content of the current page</li> + * <li> {@link android.app.AlarmManager#set AlarmManager.set} becomes interpreted as + * an inexact value, to give the system more flexibility in scheduling alarms.</li> + * <li> {@link android.content.Context#getSharedPreferences(String, int) + * Context.getSharedPreferences} no longer allows a null name.</li> + * <li> {@link android.widget.RelativeLayout} changes to compute wrapped content + * margins correctly.</li> + * <li> {@link android.app.ActionBar}'s window content overlay is allowed to be + * drawn.</li> * </ul> */ - public static final int KITKAT = CUR_DEVELOPMENT; + public static final int KITKAT = 19; } /** The type of build, like "user" or "eng". */ |