OSDN Git Service

DO NOT MERGE - Remove data dirs if a new install fails dexopt.
authorNarayan Kamath <narayan@google.com>
Mon, 16 Dec 2013 18:18:12 +0000 (18:18 +0000)
committerChristopher Tate <ctate@google.com>
Tue, 11 Mar 2014 21:06:55 +0000 (14:06 -0700)
commit52af2ca919c068f1c9389fa4c979d2fe3105af40
tree860c7378346f0ea80d2ea3d2bb5bb0ba0c7361ce
parent68c0346b22d11a0e2c5e89f1a9206bc06ad3d0cf
DO NOT MERGE - Remove data dirs if a new install fails dexopt.

We'd otherwise leave the data dirs & native libraries
lying around. This will leave the app permanently broken
because the next install of the app will fail with
INSTALL_FAILED_UID_CHANGED.

Also remove an unnecessary instance variable.

Cherry-pick from master
Bug 13416059

Change-Id: I1e644aab74d5ea519231800915b39c2f55d043ae
services/java/com/android/server/pm/PackageManagerService.java