OSDN Git Service

Verify all possible hosts that match web nav
authorChristopher Tate <ctate@google.com>
Wed, 26 Feb 2020 01:48:49 +0000 (17:48 -0800)
committerAnis Assi <anisassi@google.com>
Tue, 28 Apr 2020 18:45:24 +0000 (11:45 -0700)
commit5f03b08b397b022d2f04bfabfafd85eeb48f5996
tree9d6befc25a649d82d0e9300ece7431ec28f29769
parent288ce50c5ccf74d339061d8893458289ebece677
Verify all possible hosts that match web nav

Even if an <intent-filter> matches non-web schemes in addition to http
or https, make sure to include its cited hosts in the autoVerify
evaluation.

Bug: 150038428
Test: atest OsHostTests#testIntentFilterHostValidation
Change-Id: If9ef0fc53d96e6581c56d86f89fe63bc9a5fb89a
Merged-In: If9ef0fc53d96e6581c56d86f89fe63bc9a5fb89a
(cherry picked from commit 1fba0f897f276d5d47962534867e764da8061105)
(cherry picked from commit a481c86cd3742c7792f8607c004e0eeb4016b894)
services/core/java/com/android/server/pm/PackageManagerService.java