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
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
}