Hide settings button from tablet notification panel.
Bug: 7363279 Change-Id: I90f4286a596527485c462773f2553ed4986f60b2
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user