Improve ABI handling for shared user ids. · Hashcode/android_frameworks_base@b851c89 · GitHub
Skip to content

Commit b851c89

Browse files
committed
Improve ABI handling for shared user ids.
The key improvement is that we need to keep track of the package that's currently being scanned (this includes new installs and upgrades of existing packages) and treat it specially. If we didn't do that, In the case of upgrades we would perform the shared UID calculation based on the ABI of the old package, and not the current package. This change also allows us to perform the CPU ABI calculation before dexopt, which saves us from having to do it twice and fixes a bug where we were using the wrong package path to dexopt a package. This also has the side effect of fixing 15081286. bug: 15081286 Change-Id: I20f8ad36941fc3df29007f0e83ce82f38f3585c8
1 parent 32912e0 commit b851c89

1 file changed

Lines changed: 71 additions & 26 deletions

File tree

services/java/com/android/server/pm/PackageManagerService.java

Lines changed: 71 additions & 26 deletions

0 commit comments

Comments
 (0)