diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index 3ac7deb0db082..63cea38635374 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -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. diff --git a/packages/SettingsProvider/src/com/android/providers/settings/SettingsProtoDumpUtil.java b/packages/SettingsProvider/src/com/android/providers/settings/SettingsProtoDumpUtil.java index 55a51dab3f28b..33e0fd23783f2 100644 --- a/packages/SettingsProvider/src/com/android/providers/settings/SettingsProtoDumpUtil.java +++ b/packages/SettingsProvider/src/com/android/providers/settings/SettingsProtoDumpUtil.java @@ -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, diff --git a/packages/SettingsProvider/test/src/android/provider/SettingsBackupTest.java b/packages/SettingsProvider/test/src/android/provider/SettingsBackupTest.java index 289ac802ccb05..7b022a2681704 100644 --- a/packages/SettingsProvider/test/src/android/provider/SettingsBackupTest.java +++ b/packages/SettingsProvider/test/src/android/provider/SettingsBackupTest.java @@ -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,