diff options
author | Daniel Sandler <dsandler@android.com> | 2012-10-17 01:09:27 -0400 |
---|---|---|
committer | Daniel Sandler <dsandler@android.com> | 2012-10-17 01:11:05 -0400 |
commit | 91ffeddb8b6ceec9a18ae34f88bd56560335de7f (patch) | |
tree | 7ecfba13494b88d963462d0e56f30c3e7d62cb62 /packages | |
parent | b6c171b1afa871aa092dd2ec2ed25f48275ef194 (diff) | |
download | frameworks_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.java | 2 |
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) { |