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

Commit adf79e0b 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.
parent 005bdcd8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1838,7 +1838,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));
                }
            }
        }