summaryrefslogtreecommitdiffstats
path: root/core/java/com
diff options
context:
space:
mode:
authorBenjamin Franz <bfranz@google.com>2015-04-23 17:19:48 +0100
committerBenjamin Franz <bfranz@google.com>2015-04-27 16:46:12 +0000
commitcde0a2a9ea00d6e4acfe6ce7a7c9061343df7fa3 (patch)
tree82534c246e6ed5b36c02cb4e1e275c20977e7f73 /core/java/com
parent69812636853f6195e7f228ac17dc1f984a3ae569 (diff)
downloadframeworks_base-cde0a2a9ea00d6e4acfe6ce7a7c9061343df7fa3.zip
frameworks_base-cde0a2a9ea00d6e4acfe6ce7a7c9061343df7fa3.tar.gz
frameworks_base-cde0a2a9ea00d6e4acfe6ce7a7c9061343df7fa3.tar.bz2
Introduce disable2 into StatusBarManager
We ran out of space for new disable flags, so need to introduce a disable2 API into StatusBarManager and update all the underlying code to support the second set of flags. Bug: 20331928 Change-Id: I5009b393133c576b37d7e2bae0df97cb8c41a065
Diffstat (limited to 'core/java/com')
-rw-r--r--core/java/com/android/internal/statusbar/IStatusBar.aidl2
-rw-r--r--core/java/com/android/internal/statusbar/IStatusBarService.aidl2
2 files changed, 3 insertions, 1 deletions
diff --git a/core/java/com/android/internal/statusbar/IStatusBar.aidl b/core/java/com/android/internal/statusbar/IStatusBar.aidl
index 2b0d244..9f99f62 100644
--- a/core/java/com/android/internal/statusbar/IStatusBar.aidl
+++ b/core/java/com/android/internal/statusbar/IStatusBar.aidl
@@ -24,7 +24,7 @@ oneway interface IStatusBar
{
void setIcon(int index, in StatusBarIcon icon);
void removeIcon(int index);
- void disable(int state);
+ void disable(int state1, int state2);
void animateExpandNotificationsPanel();
void animateExpandSettingsPanel();
void animateCollapsePanels();
diff --git a/core/java/com/android/internal/statusbar/IStatusBarService.aidl b/core/java/com/android/internal/statusbar/IStatusBarService.aidl
index 87e0603..663c838 100644
--- a/core/java/com/android/internal/statusbar/IStatusBarService.aidl
+++ b/core/java/com/android/internal/statusbar/IStatusBarService.aidl
@@ -28,6 +28,8 @@ interface IStatusBarService
void collapsePanels();
void disable(int what, IBinder token, String pkg);
void disableForUser(int what, IBinder token, String pkg, int userId);
+ void disable2(int what, IBinder token, String pkg);
+ void disable2ForUser(int what, IBinder token, String pkg, int userId);
void setIcon(String slot, String iconPackage, int iconId, int iconLevel, String contentDescription);
void setIconVisibility(String slot, boolean visible);
void removeIcon(String slot);