Merge "Explicitly check for updated system apps" into nyc-dev am: cad065fb7f

am: 87885e6896

* commit '87885e689692cd969c0489a277f1aface9f87c7c':
  Explicitly check for updated system apps
This commit is contained in:
Dimitry Ivanov
2016-03-01 01:04:55 +00:00
committed by android-build-merger

View File

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