RESTRICT AUTOMERGE: Disable separated emergency button

Test: Manually
Bug: 119384606
Change-Id: I629dd42751dc80ccd434d66f95eabefc9a8164af
This commit is contained in:
Wesley.CW Wang
2018-11-12 13:04:02 +08:00
committed by Wesley Wang
parent 6018662e18
commit a3e15b8c16

View File

@@ -318,7 +318,7 @@ class GlobalActionsDialog implements DialogInterface.OnDismissListener,
ArraySet<String> addedKeys = new ArraySet<String>();
mHasLogoutButton = false;
mHasLockdownButton = false;
mSeparatedEmergencyButtonEnabled = true;
mSeparatedEmergencyButtonEnabled = false;
for (int i = 0; i < defaultActions.length; i++) {
String actionKey = defaultActions[i];
if (addedKeys.contains(actionKey)) {