summaryrefslogtreecommitdiffstats
path: root/core/java/android/content
diff options
context:
space:
mode:
authorAdrianDC <radian.dc@gmail.com>2015-08-18 19:33:18 +0200
committerSteve Kondik <steve@cyngn.com>2015-10-28 13:30:30 -0700
commit89d8d436e156a3894d6bdee88607c6d69cbc243a (patch)
treed54004e0a28777024eaa4765e64e617337684c2c /core/java/android/content
parent3d8260d65d28a22f2762713fdabf98ca7a81e350 (diff)
downloadframeworks_base-89d8d436e156a3894d6bdee88607c6d69cbc243a.zip
frameworks_base-89d8d436e156a3894d6bdee88607c6d69cbc243a.tar.gz
frameworks_base-89d8d436e156a3894d6bdee88607c6d69cbc243a.tar.bz2
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 <radian.dc@gmail.com>
Diffstat (limited to 'core/java/android/content')
-rw-r--r--core/java/android/content/Intent.java7
1 files changed, 7 insertions, 0 deletions
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.