Fix bug #13758772 Crash when hitting back after clicking on add a restricted...
... profile under Users - no need to show the dialog again when we have pressed on BACK Change-Id: I76f155a488512689c5af40ff35b80ce034da4ffe
This commit is contained in:
@@ -314,8 +314,6 @@ public class UserSettings extends RestrictedSettingsFragment
|
||||
if (requestCode == REQUEST_CHOOSE_LOCK) {
|
||||
if (resultCode != Activity.RESULT_CANCELED && hasLockscreenSecurity()) {
|
||||
addUserNow(USER_TYPE_RESTRICTED_PROFILE);
|
||||
} else {
|
||||
showDialog(DIALOG_NEED_LOCKSCREEN);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user