OSDN Git Service

Fix personal apps are not shown when tapping "personal" in activity chooser
authorTony Mak <tonymak@google.com>
Wed, 24 Feb 2016 20:26:24 +0000 (20:26 +0000)
committerTony Mak <tonymak@google.com>
Wed, 24 Feb 2016 20:26:24 +0000 (20:26 +0000)
commit53ec2b6127255c9cd556be55265b4ec53aeb65bc
treedf6f7954afb73fca17eb2876d9e68e1bba62eaf6
parent515a6c7030f73aeb812b13e7073e814dcd35c297
Fix personal apps are not shown when tapping "personal" in activity chooser

It is introduced in ag/842541.
function isMatch return flage when Flag that are neither
MATCH_ENCRYPTION_AWARE and MATCH_ENCRYPTION_UNAWARE.

We should call updateFlagsForResolve before resolving any intent in order
to make sure the flag is set properly.

Bug: 26614039
Change-Id: I4da34a34cb515557d0f5948a4c9ec4da9bfeb3f4
services/core/java/com/android/server/pm/PackageManagerService.java