summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@google.com>2015-10-21 00:48:47 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-10-21 00:48:47 +0000
commit55d2b6e8e6f364e2fd52c45b5fa3eb6a56082456 (patch)
tree734775b7a90110c3d7fe630c8ddd4bb94610ee1d /services
parentd99aade6e2c001cbb8e32c9342f20404bd614443 (diff)
parentbbcb3312050dc89385e70e96fee7d88fbcb4e794 (diff)
downloadframeworks_base-55d2b6e8e6f364e2fd52c45b5fa3eb6a56082456.zip
frameworks_base-55d2b6e8e6f364e2fd52c45b5fa3eb6a56082456.tar.gz
frameworks_base-55d2b6e8e6f364e2fd52c45b5fa3eb6a56082456.tar.bz2
Merge "Correctly derive ABI for apps on adopted media." into mnc-dr-dev
Diffstat (limited to 'services')
-rw-r--r--services/core/java/com/android/server/pm/PackageManagerService.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/services/core/java/com/android/server/pm/PackageManagerService.java b/services/core/java/com/android/server/pm/PackageManagerService.java
index 313972b..26a1f92 100644
--- a/services/core/java/com/android/server/pm/PackageManagerService.java
+++ b/services/core/java/com/android/server/pm/PackageManagerService.java
@@ -7551,8 +7551,8 @@ public class PackageManagerService extends IPackageManager.Stub {
// We would never need to extract libs for forward-locked and external packages,
// since the container service will do it for us. We shouldn't attempt to
// extract libs from system app when it was not updated.
- if (pkg.isForwardLocked() || isExternal(pkg) ||
- (isSystemApp(pkg) && !pkg.isUpdatedSystemApp()) ) {
+ if (pkg.isForwardLocked() || pkg.applicationInfo.isExternalAsec() ||
+ (isSystemApp(pkg) && !pkg.isUpdatedSystemApp())) {
extractLibs = false;
}
@@ -7829,7 +7829,7 @@ public class PackageManagerService extends IPackageManager.Stub {
final String codePath = pkg.codePath;
final File codeFile = new File(codePath);
final boolean bundledApp = info.isSystemApp() && !info.isUpdatedSystemApp();
- final boolean asecApp = info.isForwardLocked() || isExternal(info);
+ final boolean asecApp = info.isForwardLocked() || info.isExternalAsec();
info.nativeLibraryRootDir = null;
info.nativeLibraryRootRequiresIsa = false;
@@ -13647,7 +13647,7 @@ public class PackageManagerService extends IPackageManager.Stub {
if (ps != null) {
libDirRoot = ps.legacyNativeLibraryPathString;
}
- if (p != null && (isExternal(p) || p.isForwardLocked())) {
+ if (p != null && (p.isForwardLocked() || p.applicationInfo.isExternalAsec())) {
final long token = Binder.clearCallingIdentity();
try {
String secureContainerId = cidFromCodePath(p.applicationInfo.getBaseCodePath());