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

Commit 9c0efca1 authored by Roman Birg's avatar Roman Birg Committed by Adnan Begovic
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 8f844a46
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -7470,6 +7470,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;
                            p.info.flags |= PermissionInfo.FLAG_INSTALLED;
                            if ((parseFlags&PackageParser.PARSE_CHATTY) != 0) {
                                if (r == null) {