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

Commit b5ac7560 authored by Svet Ganov's avatar Svet Ganov Committed by android-build-merger
Browse files

Merge "Don't clobber shared libs when updating app info" into oc-mr1-dev

am: 4de7ab5c

Change-Id: I2e50c036193ba30a203fcfe2f46ea9f94b5992ee
parents cdd661f5 4de7ab5c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5267,7 +5267,7 @@ public final class ActivityThread {
                                final ApplicationInfo aInfo =
                                        sPackageManager.getApplicationInfo(
                                                packageName,
                                                0 /*flags*/,
                                                PackageManager.GET_SHARED_LIBRARY_FILES,
                                                UserHandle.myUserId());

                                if (mActivities.size() > 0) {
+1 −1
Original line number Diff line number Diff line
@@ -24573,7 +24573,7 @@ public class ActivityManagerService extends IActivityManager.Stub
                if (updateFrameworkRes || packagesToUpdate.contains(packageName)) {
                    try {
                        final ApplicationInfo ai = AppGlobals.getPackageManager()
                                .getApplicationInfo(packageName, 0 /*flags*/, app.userId);
                                .getApplicationInfo(packageName, STOCK_PM_FLAGS, app.userId);
                        if (ai != null) {
                            app.thread.scheduleApplicationInfoChanged(ai);
                        }