Merge "Implement 'shell pm path' to display APEX source path" am: 37ee696d84 am: b6c7f84765 am: f213b79f3a

am: 0520be6a02

Change-Id: I51593e0c54d4892bb48227680c1d04f324394d38
This commit is contained in:
Bill Lin
2019-10-13 23:20:36 -07:00
committed by android-build-merger

View File

@@ -468,7 +468,7 @@ class PackageManagerShellCommand extends ShellCommand {
* @param pckg
*/
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) {
final PrintWriter pw = getOutPrintWriter();
pw.print("package:");