[Settings] Don't allow apps on external storage to be active admin

Bug 27149287

Change-Id: I7e0905228812fbc326cf4ac4984e7f59003996a8
This commit is contained in:
Makoto Onuki
2016-02-17 11:15:04 -08:00
parent 95d7c970dc
commit 9dbad57a84
3 changed files with 9 additions and 0 deletions

View File

@@ -86,6 +86,8 @@ public class StorageWizardMoveProgress extends StorageWizardBase {
switch (returnCode) {
case PackageManager.MOVE_FAILED_INSUFFICIENT_STORAGE:
return getString(R.string.insufficient_storage);
case PackageManager.MOVE_FAILED_DEVICE_ADMIN:
return getString(R.string.move_error_device_admin);
case PackageManager.MOVE_FAILED_DOESNT_EXIST:
return getString(R.string.does_not_exist);
case PackageManager.MOVE_FAILED_FORWARD_LOCKED: