OSDN Git Service

Fix managed profile bugs in manage apps list
authorJason Monk <jmonk@google.com>
Wed, 25 Mar 2015 18:47:01 +0000 (14:47 -0400)
committerJason Monk <jmonk@google.com>
Thu, 26 Mar 2015 12:35:02 +0000 (08:35 -0400)
commit1f4f30cd06ff9ef08db25db1922d523cf4010bcd
tree09fd2b3668cddb0f248a62590d288710fd815010
parent5528d8952b0931593e645e1608bf3fe7f46b5ba8
Fix managed profile bugs in manage apps list

 - Uses the same package manager flags as secondary users for managed
   profiles, so that owner apps don't show up.

 - Fixes bug in getting AppEntries that caused app info for profile
   apps to get the owner one instead (which was unbadged and very
   broken).

Bug: 19817357
Change-Id: I659ab1081c68a231330f5b16486abc5a0a5b2029
src/com/android/settings/applications/ApplicationsState.java