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

Commit 4ee5abeb authored by Jey's avatar Jey Committed by Steve Kondik
Browse files

'uses-library' was not working for persistent applications.

Fix by generating the applicationInfo, when asked for info.

Change-Id: I44686d5a306562c6649148dce8f709e682adcdf4
parent fdba0c90
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1905,7 +1905,7 @@ class PackageManagerService extends IPackageManager.Stub {
                        && (p.applicationInfo.flags&ApplicationInfo.FLAG_PERSISTENT) != 0
                        && (!mSafeMode || (p.applicationInfo.flags
                                &ApplicationInfo.FLAG_SYSTEM) != 0)) {
                    finalList.add(p.applicationInfo);
                    finalList.add(PackageParser.generateApplicationInfo(p, flags));
                }
            }
        }