OSDN Git Service

DO NOT MERGE - Only autoVerify at install for new hosts
authorChristopher Tate <ctate@google.com>
Fri, 29 May 2020 00:49:53 +0000 (17:49 -0700)
committerChris Tate <ctate@android.com>
Wed, 3 Jun 2020 17:48:30 +0000 (17:48 +0000)
commit90b716a442802154208c86c31545b6f1f3ee53db
tree5cbb82db8a2dff680399fa93fac3e2bd740779f3
parent6255311d39f0b6f7de19b4fa46a6daa0f3690789
DO NOT MERGE - Only autoVerify at install for new hosts

Re-run app link verification at update time only when the set of hosts
has expanded.  Intentionally revoke verify history when an app stops
using autoVerify, as a one-time measure to place it back into the
non-autoverify model for tracking the user's launch preferences.  If the
app starts using autoVerify again later, it behaves identically to an
app that has never done so before.

Bug: 151475497
Bug: 146204120
Test: described on master CL

Merged-In: I200d85085ce79842a3ed39377d1f75ec381c8991
Merged-In: Ibaf087946966ad82d60c7b255e3ee75990716b63
Change-Id: Ibaf087946966ad82d60c7b255e3ee75990716b63
services/core/java/com/android/server/pm/PackageManagerService.java
services/core/java/com/android/server/pm/Settings.java