Skip to content
Commit 1a104954 authored by Elliot Sisteron's avatar Elliot Sisteron
Browse files

Fix Intent resolution ordering.

The intended order was to have the implicit intent checked first.
However, we changed it to check the explicit intent first in
ag/21033470 as resolveActivity always returned a value regardless
of whether the non-exported internal activity actually resolved.

By checking manually if the activity is exported, we can use
the original (intended) order, which fixes an issue with the
overriding of the OTA source intent by setting a higher priority.

Test: atest SafetyCenterFunctionalTestCases
Bug: 296053629
Bug: 282920658
Relnote: Fix intent resolution ordering for Safety Center, which
allows overridng OTA source intent by setting higher priority.

Change-Id: I332200401340deb48f9ebd23d841f4e01c9d9e0d
parent 4b063862
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment