diff options
author | Yinlin Cai <yinlin.xa.cai@sonymobile.com> | 2015-11-26 14:46:16 +0800 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-05-14 04:16:41 -0700 |
commit | 2d7713afa5f5d34d107b88a15ac52fd8bb20afe3 (patch) | |
tree | cf4db82be6ccfe7b7e9fe59c6006c39c40ed8d0f /services | |
parent | 50734c25acdc593d570696c15b7b44dc0264b6a3 (diff) | |
download | frameworks_base-2d7713afa5f5d34d107b88a15ac52fd8bb20afe3.zip frameworks_base-2d7713afa5f5d34d107b88a15ac52fd8bb20afe3.tar.gz frameworks_base-2d7713afa5f5d34d107b88a15ac52fd8bb20afe3.tar.bz2 |
Fix incorrect behavior for statusbar and quicksettings panel
Incorrectly disableForUser() is called in disable2().
Use disable2ForUser() instead of disableForUser().
Bug: 27688623
Change-Id: Iadb6aec82ccfe95a90e4a3d212fbd14d73093982
Diffstat (limited to 'services')
-rw-r--r-- | services/core/java/com/android/server/statusbar/StatusBarManagerService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/statusbar/StatusBarManagerService.java b/services/core/java/com/android/server/statusbar/StatusBarManagerService.java index e9ace29..0e51953 100644 --- a/services/core/java/com/android/server/statusbar/StatusBarManagerService.java +++ b/services/core/java/com/android/server/statusbar/StatusBarManagerService.java @@ -249,7 +249,7 @@ public class StatusBarManagerService extends IStatusBarService.Stub { */ @Override public void disable2(int what, IBinder token, String pkg) { - disableForUser(what, token, pkg, mCurrentUserId); + disable2ForUser(what, token, pkg, mCurrentUserId); } /** |