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

Commit b2b8c3c1 authored by Dimitry Ivanov's avatar Dimitry Ivanov
Browse files

Explicitly check for updated system apps

Unbundled apps should not be allowed to share
linker-namespaces with default namespace; it implies
that they will not have unlimited access to private
native libs once updated.

Bug: http://b/27189432
Change-Id: I60295b9b31d700016add93537418fdcce5a77719
parent a52f6a17
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -382,7 +382,7 @@ public final class LoadedApk {
            String libraryPermittedPath = mDataDir;
            boolean isBundledApp = false;

            if (mApplicationInfo.isSystemApp()) {
            if (mApplicationInfo.isSystemApp() && !mApplicationInfo.isUpdatedSystemApp()) {
                isBundledApp = true;
                // Add path to system libraries to libPaths;
                // Access to system libs should be limited