Delete PACKAGE_VERIFIER_USER_CONSENT from Settings.

It isn't used anywhere in the framework, except by incidentd - that
usage is also removed.

Any such setting is private to the verifier and not the business of
the framework.

Test: atest SettingsProviderTest
Test: Still builds
Bug: 135751498
Change-Id: Ia6424d8ce811560e4ba72ada003dc08475d5123e
This commit is contained in:
Alan Stokes
2019-11-14 17:00:16 +00:00
parent af30a90e37
commit 31eb159690
3 changed files with 0 additions and 17 deletions

View File

@@ -7139,16 +7139,6 @@ public final class Settings {
@UnsupportedAppUsage
public static final String VOICE_RECOGNITION_SERVICE = "voice_recognition_service";
/**
* Stores whether an user has consented to have apps verified through PAM.
* The value is boolean (1 or 0).
*
* @hide
*/
@UnsupportedAppUsage
public static final String PACKAGE_VERIFIER_USER_CONSENT =
"package_verifier_user_consent";
/**
* The {@link ComponentName} string of the selected spell checker service which is
* one of the services managed by the text service manager.

View File

@@ -2248,12 +2248,6 @@ class SettingsProtoDumpUtil {
SecureSettingsProto.Notification.IN_CALL_NOTIFICATION_ENABLED);
p.end(notificationToken);
final long packageVerifierToken = p.start(SecureSettingsProto.PACKAGE_VERIFIER);
dumpSetting(s, p,
Settings.Secure.PACKAGE_VERIFIER_USER_CONSENT,
SecureSettingsProto.PackageVerifier.USER_CONSENT);
p.end(packageVerifierToken);
final long parentalControlToken = p.start(SecureSettingsProto.PARENTAL_CONTROL);
dumpSetting(s, p,
Settings.Secure.PARENTAL_CONTROL_ENABLED,

View File

@@ -662,7 +662,6 @@ public class SettingsBackupTest {
Settings.Secure.NIGHT_DISPLAY_LAST_ACTIVATED_TIME,
Settings.Secure.NUM_ROTATION_SUGGESTIONS_ACCEPTED,
Settings.Secure.ODI_CAPTIONS_ENABLED,
Settings.Secure.PACKAGE_VERIFIER_USER_CONSENT,
Settings.Secure.PARENTAL_CONTROL_LAST_UPDATE,
Settings.Secure.PAYMENT_SERVICE_SEARCH_URI,
Settings.Secure.PRINT_SERVICE_SEARCH_URI,