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

Commit 6058df65 authored by Todd Kennedy's avatar Todd Kennedy
Browse files

update shared libraries for system apps

After removing updates for a system package, we weren't updating its
shared libraries when we should have. Make it so.

NOTE: This didn't affect device boot because we update all of the
shared libraries for all system applications after scanning packages.

Bug: 30266503
Change-Id: I8edf4344228fb3e793e7648ea70a041cb5db6af6
parent 648d3030
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -15824,6 +15824,12 @@ public class PackageManagerService extends IPackageManager.Stub {
                    + e.getMessage());
            return false;
        }
        try {
            // update shared libraries for the newly re-installed system package
            updateSharedLibrariesLPw(newPkg, null);
        } catch (PackageManagerException e) {
            Slog.e(TAG, "updateAllSharedLibrariesLPw failed: " + e.getMessage());
        }
        prepareAppDataAfterInstallLIF(newPkg);