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

Commit 50510eea authored by Todd Kennedy's avatar Todd Kennedy
Browse files

Use STOCK_PM_FLAGS for backup agent

When getting the application info for the backup agent, we need
to have any shared libraries in the returned object. Make it so.

Change-Id: I8122b4070394e8e9b7b9f5afeeb8af3805d3d21b
Fixes: 79248935
Test: Manual
parent 3116918b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -20548,7 +20548,7 @@ public class ActivityManagerService extends IActivityManager.Stub
        IPackageManager pm = AppGlobals.getPackageManager();
        ApplicationInfo app = null;
        try {
            app = pm.getApplicationInfo(packageName, 0, userId);
            app = pm.getApplicationInfo(packageName, STOCK_PM_FLAGS, userId);
        } catch (RemoteException e) {
            // can't happen; package manager is process-local
        }