From bbcb3312050dc89385e70e96fee7d88fbcb4e794 Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Tue, 20 Oct 2015 17:32:01 -0700 Subject: Correctly derive ABI for apps on adopted media. There was a bug causing PackageManager to think apps on adopted media were actually in an ASEC, causing it to skip ABI derivation. This change fixes the issue by copying the volume UUID into place early in the scanning process. Also fixes two places where we had incorrectly been including apps on adopted media; switched them to check only for ASECs. Bug: 24583803 Change-Id: If66d1bce02824a4d8e22f741b04a2abda0378cfb --- core/java/android/content/pm/PackageParser.java | 1 + 1 file changed, 1 insertion(+) (limited to 'core/java/android/content') diff --git a/core/java/android/content/pm/PackageParser.java b/core/java/android/content/pm/PackageParser.java index 7032c9a..99bd390 100644 --- a/core/java/android/content/pm/PackageParser.java +++ b/core/java/android/content/pm/PackageParser.java @@ -894,6 +894,7 @@ public class PackageParser { } pkg.volumeUuid = volumeUuid; + pkg.applicationInfo.volumeUuid = volumeUuid; pkg.baseCodePath = apkPath; pkg.mSignatures = null; -- cgit v1.1