Skip to content

Commit 91ffedd

Browse files
committed
Hide settings button from tablet notification panel.
Bug: 7363279 Change-Id: I90f4286a596527485c462773f2553ed4986f60b2
1 parent b6c171b commit 91ffedd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ public void onChange(boolean selfChange) {
297297
if (MULTIUSER_DEBUG) Slog.d(TAG, String.format("User setup changed: " +
298298
"selfChange=%s userSetup=%s mUserSetup=%s",
299299
selfChange, userSetup, mUserSetup));
300-
if (mSettingsButton != null) {
300+
if (mSettingsButton != null && !mHasSettingsPanel) {
301301
mSettingsButton.setVisibility(userSetup ? View.VISIBLE : View.INVISIBLE);
302302
}
303303
if (mSettingsPanel != null) {

0 commit comments

Comments
 (0)