OSDN Git Service

PackageManager: Clear foreign-dex markers when the app is uninstalled.
authorNarayan Kamath <narayan@google.com>
Thu, 12 May 2016 16:35:37 +0000 (17:35 +0100)
committerNarayan Kamath <narayan@google.com>
Mon, 16 May 2016 11:42:28 +0000 (12:42 +0100)
commit1475701100d07af2fad563891082d7712e385950
tree5dc43ec571be36c7a5b7cfbf45e7d15cfb1ad6b2
parent8995b00ce8f68f2a285a97c2ce711bea8c61179e
PackageManager: Clear foreign-dex markers when the app is uninstalled.

Also:
- Adds a missing call to clearProfiles to a callSite that was clearing other app data .
- Fixes a bug where the wrong package was being passed to clearAppProfilesLIF. We should
  use the "old" (pre-upgrade) package and not the "new" (post-upgrade) package.

bug: 28510916
Change-Id: Ia926acda2c72d39bad51143e3f923643d9c3a0af
services/core/java/com/android/server/pm/PackageManagerService.java