am 91ffeddb: Hide settings button from tablet notification panel.
* commit '91ffeddb8b6ceec9a18ae34f88bd56560335de7f': Hide settings button from tablet notification panel.
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