From d50a6f8ef27b793d2b0d65140bfeb5e824c3b103 Mon Sep 17 00:00:00 2001 From: Quddus Chong Date: Sun, 15 Jun 2014 12:13:18 -0700 Subject: [PATCH] docs: Updates to L Developer Preview Highlights. Change-Id: Ifbacefe16a0048d6f19a468adb7a8b8712820c28 --- docs/html/preview/api-overview.jd | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/docs/html/preview/api-overview.jd b/docs/html/preview/api-overview.jd index 441793acf6d5d..7c48340b81d1e 100644 --- a/docs/html/preview/api-overview.jd +++ b/docs/html/preview/api-overview.jd @@ -143,7 +143,7 @@ sounds and vibration. media playback control from the lockscreen through a media notification. This gives your app more control over the presentation of media buttons, while providing a consistent experience for users across the lockscreen and -the unlocked device.

+unlocked device.

You must call {@code Notification.Builder.setVisibility(Notification.VISIBILITY_PUBLIC)} to mark your media notification as safe to reveal, even when the lockscreen is secured with a PIN, pattern, or password.

@@ -185,7 +185,7 @@ which feel natural and delightful to users. This support includes:

UI elements with {@code android.view.Window.setStatusBarColor()}.

To learn more about adding material design functionality to your app, see -Material design on Android.

+Material design on Android.

Lockscreen notifications

Lockscreens in L Developer Preview have the ability to present notifications. @@ -448,6 +448,7 @@ flexible use of NFC:

-

Use the {@code --help} option to learn about the various options that you -can apply for tailoring the output. For example, to run the tool to print -battery usage statistics since the device was last charged for a given app -package, run this command: +

Use the {@code --help} option to learn about the various options for +tailoring the output. For example, to run the tool to print battery usage +statistics since the device was last charged for a given app package, run this +command:

 $ adb shell dumpsys batterystats --charged