commit | dda003ffa84f986bfaba4344124eafa533f5039d | [log] [tgz] |
---|---|---|
author | Amith Yamasani <yamasani@google.com> | Thu Aug 28 18:06:51 2014 -0700 |
committer | Amith Yamasani <yamasani@google.com> | Fri Aug 29 10:28:38 2014 -0700 |
tree | 649b390602e2efe8abad283fcdd04f285cfaff40 | |
parent | 551056ec0fd274f4696c2cf1ec9c62298f7f7226 [diff] |
Clean up apks installed for a removed user When a user is removed, enumerate through all installed packages to see if any of them are not installed for any user. Delete the package if no user has it "installed". Added a pm option to install an apk for a specific user. Fixed a crash in UserManagerService when executing the above cleanup - dying users generate a null UserInfo. Bug: 15426024 Change-Id: I571decde1ae1c257d0da6db153b896aad6d6bcb4