Add a dialog when turning off oem unlock dialog.

Change-Id: I93a93c0a110c2770d3701b5449c7939f941c7593
Fixes: 28199132
Test: robotests
This commit is contained in:
Fan Zhang
2017-10-30 17:41:58 -07:00
parent c8e304aea6
commit 47a50edf31
4 changed files with 62 additions and 5 deletions

View File

@@ -90,6 +90,7 @@ public class OemUnlockPreferenceController extends DeveloperOptionsPreferenceCon
}
} else {
mOemLockManager.setOemUnlockAllowedByUser(false);
OemLockInfoDialog.show(mFragment);
}
return true;
}