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

Commit c75bedec authored by Roman Birg's avatar Roman Birg Committed by Gerrit Code Review
Browse files

PackageManager: copy allowViaWhitelist flag for perm trees



Ref: CYNGNOS-622
Change-Id: Ic52f179d79ac69a055f994df05a502f893435a26
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
parent e8c264c1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -6660,6 +6660,7 @@ public class PackageManagerService extends IPackageManager.Stub {
                                bp.perm = p;
                                bp.uid = pkg.applicationInfo.uid;
                                bp.sourcePackage = p.info.packageName;
                                bp.allowViaWhitelist = p.info.allowViaWhitelist;
                                if ((parseFlags&PackageParser.PARSE_CHATTY) != 0) {
                                    if (r == null) {
                                        r = new StringBuilder(256);