From 89d8d436e156a3894d6bdee88607c6d69cbc243a Mon Sep 17 00:00:00 2001 From: AdrianDC Date: Tue, 18 Aug 2015 19:33:18 +0200 Subject: LEDs Brightness [2/2]: Lights notifications brightness support Implement the support of an overall brightness control for the LEDs. The setting is deactivated by default and will be ignored by the unimplemented phones. Current LibLights will simply not use the new variable. Changes includes : frameworks/base packages/Apps/Settings Change-Id: I1c0de01b1c6a2a2cf1432028a2e69f90b2373b2c Signed-off-by: AdrianDC --- core/java/android/content/Intent.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'core/java/android/content') diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index a1a0867..404564b 100644 --- a/core/java/android/content/Intent.java +++ b/core/java/android/content/Intent.java @@ -2864,6 +2864,13 @@ public class Intent implements Parcelable, Cloneable { "android.intent.action.SHOW_BRIGHTNESS_DIALOG"; /** + * Activity Action: Shows the notification brightness setting dialog. + * @hide + */ + public static final String ACTION_SHOW_NOTIFICATION_BRIGHTNESS_DIALOG = + "android.intent.action.SHOW_NOTIFICATION_BRIGHTNESS_DIALOG"; + + /** * Broadcast Action: A global button was pressed. Includes a single * extra field, {@link #EXTRA_KEY_EVENT}, containing the key event that * caused the broadcast. -- cgit v1.1