diff options
author | Winson <chiuwinson@google.com> | 2021-04-13 09:47:16 -0700 |
---|---|---|
committer | Winson <chiuwinson@google.com> | 2021-04-14 16:10:16 -0700 |
commit | 9357d80eaea63e2df71f1cfabb44a08145faad5d (patch) | |
tree | 997f2f32e841c1138b0c06c0b5bda0c5f74235c1 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 61ce1506ca4bd4a1e97e1d438c9e9c8cd12ef541 (diff) |
Skip domain approval logic if host is invalid
The collection logic for exposing HTTP domains only accepts those
that match Patterns#DOMAIN_NAME, roughly "domain.tld".
This updates the Intent resolution logic to match so that link approval
is not required if the URI host doesn't match that pattern.
Bug: 184963244
Test: atest DomainVerificationValidIntentTest
Test: atest CtsDomainVerificationDeviceTestCases
Change-Id: Ieb4ca01089785246b61d6b1710d76bffceefcbf7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions