summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2013-07-15 13:31:32 +0200
committerDanny Baumann <dannybaumann@web.de>2013-07-17 12:34:27 +0200
commit8bf2351797f2adfb444fc3356b6eb2c60c459bb7 (patch)
treeacff4a1bb96dc3d53d4edc4f193e047bb20dec4f /core
parentc233a5bdf397b423c54f038935fcaf05b6d143e6 (diff)
downloadframeworks_base-8bf2351797f2adfb444fc3356b6eb2c60c459bb7.zip
frameworks_base-8bf2351797f2adfb444fc3356b6eb2c60c459bb7.tar.gz
frameworks_base-8bf2351797f2adfb444fc3356b6eb2c60c459bb7.tar.bz2
Make notification-shade-collapse-after-dismiss behaviour configurable.
Change-Id: I1be0be2753b479e6d2e4fc8e17d971d03ce01bb7
Diffstat (limited to 'core')
-rw-r--r--core/java/android/provider/Settings.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
index dc06167..43512aa 100644
--- a/core/java/android/provider/Settings.java
+++ b/core/java/android/provider/Settings.java
@@ -2777,6 +2777,19 @@ public final class Settings {
*/
public static final String STATUS_BAR_IME_SWITCHER = "status_bar_ime_switcher";
+ /**
+ * Whether to collapse the notification area after dismissing the last notification
+ * @hide
+ */
+ public static final String STATUS_BAR_COLLAPSE_ON_DISMISS = "status_bar_collapse_on_dismiss";
+
+ /** @hide */
+ public static final int STATUS_BAR_COLLAPSE_NEVER = 0;
+ /** @hide */
+ public static final int STATUS_BAR_COLLAPSE_IF_EMPTIED = 1;
+ /** @hide */
+ public static final int STATUS_BAR_COLLAPSE_IF_NO_CLEARABLE = 2;
+
/**
* Expanded desktop on/off state
* @hide