OSDN Git Service

Don't send app links to the parent if status = never (part 2)
authorNicolas Prevot <nprevot@google.com>
Wed, 15 Jul 2015 13:54:45 +0000 (14:54 +0100)
committerNicolas Prevot <nprevot@google.com>
Thu, 16 Jul 2015 09:13:00 +0000 (10:13 +0100)
commitdbdf7c45380f7701e029a279932d2c97bf55fdc9
treea9e650ec31508f0cfca97255400e2afd632a2763
parent47e0409062a2ac5a480fc1a57e443b75ce0f1dab
Don't send app links to the parent if status = never (part 2)

To qualify for cross-profile app linking, an intent should resolve
with a better status than "NEVER". Moved this check from canForwardTo
into the source method, getCrossProfileDomainPreferredLpr, to stop
bad resolutions leaking out.

BUG:22287521
Change-Id: I195979d78a783864d841a81f358780912bbf168e
services/core/java/com/android/server/pm/PackageManagerService.java