summaryrefslogtreecommitdiffstats
path: root/core/java/android
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2014-10-17 17:11:23 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-10-17 17:11:24 +0000
commit52476989b8afc0e96c2218625031ed550b12c79b (patch)
treee6c263bd64b51fce9d198ec0f329cd4a54271edd /core/java/android
parentfe51197084ab70ea48a9ddf13ecc0d0afe81d0ea (diff)
parentd3511d4be120f84cb302456b0992dbc003d4aa80 (diff)
downloadframeworks_base-52476989b8afc0e96c2218625031ed550b12c79b.zip
frameworks_base-52476989b8afc0e96c2218625031ed550b12c79b.tar.gz
frameworks_base-52476989b8afc0e96c2218625031ed550b12c79b.tar.bz2
Merge "SDK only: hide the old L API version constant." into lmp-dev
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/os/Build.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/core/java/android/os/Build.java b/core/java/android/os/Build.java
index ee36012..24cdd77 100644
--- a/core/java/android/os/Build.java
+++ b/core/java/android/os/Build.java
@@ -554,6 +554,7 @@ public class Build {
/**
* Temporary until we completely switch to {@link #LOLLIPOP}.
+ * @hide
*/
public static final int L = 21;
@@ -566,6 +567,24 @@ public class Build {
* <li> {@link android.content.Context#bindService Context.bindService} now
* requires an explicit Intent, and will throw an exception if given an implicit
* Intent.</li>
+ * <li> {@link android.app.Notification.Builder Notification.Builder} will
+ * not have the colors of their various notification elements adjusted to better
+ * match the new material design look.</li>
+ * <li> {@link android.os.Message} will validate that a message is not currently
+ * in use when it is recycled.</li>
+ * <li> Hardware accelerated drawing in windows will be enabled automatically
+ * in most places.</li>
+ * <li> {@link android.widget.Spinner} throws an exception if attaching an
+ * adapter with more than one item type.</li>
+ * <li> If the app is a launcher, the launcher will be available to the user
+ * even when they are using corporate profiles (which requires that the app
+ * use {@link android.content.pm.LauncherApps} to correctly populate its
+ * apps UI).</li>
+ * <li> Calling {@link android.app.Service#stopForeground Service.stopForeground}
+ * with removeNotification false will modify the still posted notification so that
+ * it is no longer forced to be ongoing.</li>
+ * <li> A {@link android.service.dreams.DreamService} must require the
+ * {@link android.Manifest.permission#BIND_DREAM_SERVICE} permission to be usable.</li>
* </ul>
*/
public static final int LOLLIPOP = 21;