summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@android.com>2012-10-17 01:09:27 -0400
committerDaniel Sandler <dsandler@android.com>2012-10-17 01:11:05 -0400
commit91ffeddb8b6ceec9a18ae34f88bd56560335de7f (patch)
tree7ecfba13494b88d963462d0e56f30c3e7d62cb62 /packages
parentb6c171b1afa871aa092dd2ec2ed25f48275ef194 (diff)
downloadframeworks_base-91ffeddb8b6ceec9a18ae34f88bd56560335de7f.zip
frameworks_base-91ffeddb8b6ceec9a18ae34f88bd56560335de7f.tar.gz
frameworks_base-91ffeddb8b6ceec9a18ae34f88bd56560335de7f.tar.bz2
Hide settings button from tablet notification panel.
Bug: 7363279 Change-Id: I90f4286a596527485c462773f2553ed4986f60b2
Diffstat (limited to 'packages')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
index 1dae726..24f76bb 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
@@ -297,7 +297,7 @@ public class PhoneStatusBar extends BaseStatusBar {
if (MULTIUSER_DEBUG) Slog.d(TAG, String.format("User setup changed: " +
"selfChange=%s userSetup=%s mUserSetup=%s",
selfChange, userSetup, mUserSetup));
- if (mSettingsButton != null) {
+ if (mSettingsButton != null && !mHasSettingsPanel) {
mSettingsButton.setVisibility(userSetup ? View.VISIBLE : View.INVISIBLE);
}
if (mSettingsPanel != null) {