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

Commit 2eebf5ca authored by Jey's avatar Jey Committed by Jean-Baptiste Queru
Browse files

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

Fix by generating the applicationInfo, when asked for info.

Change-Id: I44686d5a306562c6649148dce8f709e682adcdf4
parent c6f8ea4c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1861,7 +1861,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));
                }
            }
        }