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

Commit 0ba93042 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

am: b5ac7560

Change-Id: I425ff226b355597b52b0e2f871cbc419b069f1ee
parents 0cad847b b5ac7560
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5281,7 +5281,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
@@ -24447,7 +24447,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);
                        }