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)
committerChris Tate <ctate@android.com>
Thu, 27 Feb 2020 22:23:42 +0000 (22:23 +0000)
commit1fba0f897f276d5d47962534867e764da8061105
treeef721ac6d1aab83797a5d12bd8ba7ce328ba8c11
parent9c4b368bfe0474c9e9540b4ead4209969eec58b2
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
services/core/java/com/android/server/pm/PackageManagerService.java