Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 43a52ec8 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix the command problem "adb shell pm list permissions -f"" into udc-qpr-dev

parents beb2aa5a 08718c4e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -4126,6 +4126,10 @@ class PackageManagerShellCommand extends ShellCommand {
                PackageManager.MATCH_DISABLED_COMPONENTS
                        | PackageManager.MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS
                        | PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, 0);
        if (ai == null) {
            Slog.e(TAG, "Failed to get ApplicationInfo for package name(" + pii.packageName + ").");
            return null;
        }
        AssetManager am = new AssetManager();
        am.addAssetPath(ai.publicSourceDir);
        res = new Resources(am, null, null);