Merge "Implement 'shell pm path' to display APEX source path" am: 37ee696d84
am: b6c7f84765
Change-Id: I95cecaf7eaed57905973e9896f6cb31b381cfef5
This commit is contained in:
@@ -464,7 +464,7 @@ class PackageManagerShellCommand extends ShellCommand {
|
|||||||
* @param pckg
|
* @param pckg
|
||||||
*/
|
*/
|
||||||
private int displayPackageFilePath(String pckg, int userId) throws RemoteException {
|
private int displayPackageFilePath(String pckg, int userId) throws RemoteException {
|
||||||
PackageInfo info = mInterface.getPackageInfo(pckg, 0, userId);
|
PackageInfo info = mInterface.getPackageInfo(pckg, PackageManager.MATCH_APEX, userId);
|
||||||
if (info != null && info.applicationInfo != null) {
|
if (info != null && info.applicationInfo != null) {
|
||||||
final PrintWriter pw = getOutPrintWriter();
|
final PrintWriter pw = getOutPrintWriter();
|
||||||
pw.print("package:");
|
pw.print("package:");
|
||||||
|
|||||||
Reference in New Issue
Block a user