summaryrefslogtreecommitdiff
path: root/framework-s/java
diff options
context:
space:
mode:
author Elliot Sisteron <elliotsisteron@google.com> 2023-10-06 13:01:22 +0000
committer Elliot Sisteron <elliotsisteron@google.com> 2023-10-11 09:53:40 +0000
commit1a104954590080caac06ded0e63e452e9bd8bf06 (patch)
tree4715c21ce5ef0c4270f1bb372087143f997b44ed /framework-s/java
parent4b0638624690a39de2c35ac5e00f17136973aad8 (diff)
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
Diffstat (limited to 'framework-s/java')
0 files changed, 0 insertions, 0 deletions