Show file path when listing APEXes (1/n)
-f now works for APEXes as well. Bug: 140813980 Test: adb shell pm list packages --apex-only -f package:/system/apex/com.android.apex.cts.shim.apex=com.android.apex.cts.shim package:/system/apex/com.android.art.debug.apex=com.android.art package:/system/apex/com.android.conscrypt.apex=com.google.android.conscrypt Change-Id: I6206c4db392a37152f14aa5510c35e52f565f9a6
This commit is contained in:
@@ -756,7 +756,7 @@ class PackageManagerShellCommand extends ShellCommand {
|
||||
(!listThirdParty || !isSystem) &&
|
||||
(!listApexOnly || isApex)) {
|
||||
pw.print("package:");
|
||||
if (showSourceDir && !isApex) {
|
||||
if (showSourceDir) {
|
||||
pw.print(info.applicationInfo.sourceDir);
|
||||
pw.print("=");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user