Merge "Implement 'shell pm path' to display APEX source path"

am: 37ee696d84

Change-Id: Id4754a2b466d956c979fff1e788be5976d6c1542
This commit is contained in:
Bill Lin
2019-10-13 22:44:12 -07:00
committed by android-build-merger

View File

@@ -464,7 +464,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:");