OSDN Git Service

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>
Tue, 2 Jun 2020 04:12:00 +0000 (04:12 +0000)
commit153de338c182dbdbcbc3b32186cf783805fb7757
tree87daaa1ee4280f7291f23e3a866c0d2718eed09e
parentb1ae5fd44388f4e3c74a8caa690d4a66e9f99f4d
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
Change-Id: Ibaf087946966ad82d60c7b255e3ee75990716b63
services/core/java/com/android/server/pm/PackageManagerService.java
services/core/java/com/android/server/pm/Settings.java