commit | 9357d80eaea63e2df71f1cfabb44a08145faad5d | [log] [tgz] |
---|---|---|
author | Winson <chiuwinson@google.com> | Tue Apr 13 09:47:16 2021 -0700 |
committer | Winson <chiuwinson@google.com> | Wed Apr 14 16:10:16 2021 -0700 |
tree | 997f2f32e841c1138b0c06c0b5bda0c5f74235c1 | |
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