Hide settings button from tablet notification panel.

Bug: 7363279
Change-Id: I90f4286a596527485c462773f2553ed4986f60b2
This commit is contained in:
Daniel Sandler
2012-10-17 01:09:27 -04:00
parent b6c171b1af
commit 91ffeddb8b

View File

@@ -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) {