Loading cmds/pm/src/com/android/commands/pm/Pm.java +5 −5 Original line number Diff line number Diff line Loading @@ -283,7 +283,7 @@ public final class Pm { } else if (args.length == 2) { if (args[0].equalsIgnoreCase("-p")) { validCommand = true; return displayPackageFilePath(args[1], UserHandle.USER_OWNER); return displayPackageFilePath(args[1], UserHandle.USER_SYSTEM); } } return 1; Loading Loading @@ -767,7 +767,7 @@ public final class Pm { } private int runPath() { int userId = UserHandle.USER_OWNER; int userId = UserHandle.USER_SYSTEM; String option = nextOption(); if (option != null && option.equals("--user")) { String optionData = nextOptionData(); Loading Loading @@ -1650,7 +1650,7 @@ public final class Pm { } private int runClear() { int userId = UserHandle.USER_OWNER; int userId = UserHandle.USER_SYSTEM; String option = nextOption(); if (option != null && option.equals("--user")) { String optionData = nextOptionData(); Loading Loading @@ -1722,7 +1722,7 @@ public final class Pm { } private int runSetEnabledSetting(int state) { int userId = UserHandle.USER_OWNER; int userId = UserHandle.USER_SYSTEM; String option = nextOption(); if (option != null && option.equals("--user")) { String optionData = nextOptionData(); Loading Loading @@ -1771,7 +1771,7 @@ public final class Pm { } private int runSetHiddenSetting(boolean state) { int userId = UserHandle.USER_OWNER; int userId = UserHandle.USER_SYSTEM; String option = nextOption(); if (option != null && option.equals("--user")) { String optionData = nextOptionData(); Loading Loading
cmds/pm/src/com/android/commands/pm/Pm.java +5 −5 Original line number Diff line number Diff line Loading @@ -283,7 +283,7 @@ public final class Pm { } else if (args.length == 2) { if (args[0].equalsIgnoreCase("-p")) { validCommand = true; return displayPackageFilePath(args[1], UserHandle.USER_OWNER); return displayPackageFilePath(args[1], UserHandle.USER_SYSTEM); } } return 1; Loading Loading @@ -767,7 +767,7 @@ public final class Pm { } private int runPath() { int userId = UserHandle.USER_OWNER; int userId = UserHandle.USER_SYSTEM; String option = nextOption(); if (option != null && option.equals("--user")) { String optionData = nextOptionData(); Loading Loading @@ -1650,7 +1650,7 @@ public final class Pm { } private int runClear() { int userId = UserHandle.USER_OWNER; int userId = UserHandle.USER_SYSTEM; String option = nextOption(); if (option != null && option.equals("--user")) { String optionData = nextOptionData(); Loading Loading @@ -1722,7 +1722,7 @@ public final class Pm { } private int runSetEnabledSetting(int state) { int userId = UserHandle.USER_OWNER; int userId = UserHandle.USER_SYSTEM; String option = nextOption(); if (option != null && option.equals("--user")) { String optionData = nextOptionData(); Loading Loading @@ -1771,7 +1771,7 @@ public final class Pm { } private int runSetHiddenSetting(boolean state) { int userId = UserHandle.USER_OWNER; int userId = UserHandle.USER_SYSTEM; String option = nextOption(); if (option != null && option.equals("--user")) { String optionData = nextOptionData(); Loading