summaryrefslogtreecommitdiffstats
path: root/core/java
diff options
context:
space:
mode:
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/content/Intent.java7
-rw-r--r--core/java/android/provider/Settings.java8
2 files changed, 15 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.
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
index 3d2118c..81166ea 100644
--- a/core/java/android/provider/Settings.java
+++ b/core/java/android/provider/Settings.java
@@ -3222,6 +3222,13 @@ public final class Settings {
public static final Validator SHOW_WEB_SUGGESTIONS_VALIDATOR = sBooleanValidator;
/**
+ * Contains the notifications light maximum brightness to use.
+ * @hide
+ */
+ public static final String NOTIFICATION_LIGHT_BRIGHTNESS_LEVEL =
+ "notification_light_brightness_level";
+
+ /**
* Whether to allow notifications with the screen on or DayDreams.
* The value is boolean (1 or 0). Default will always be false.
* @hide
@@ -3998,6 +4005,7 @@ public final class Settings {
PHONE_BLACKLIST_PRIVATE_NUMBER_MODE,
PHONE_BLACKLIST_UNKNOWN_NUMBER_MODE,
PHONE_BLACKLIST_REGEX_ENABLED,
+ NOTIFICATION_LIGHT_BRIGHTNESS_LEVEL,
NOTIFICATION_LIGHT_SCREEN_ON
};