diff options
| author | 2022-09-22 23:25:06 +0000 | |
|---|---|---|
| committer | 2022-09-22 23:39:14 +0000 | |
| commit | aa721c202d675e8fca91002c9a56faba33cbb544 (patch) | |
| tree | 1edcfc55babe82920f046e2ca563b64775d5a473 | |
| parent | 52b3c475ed1c6cab0c5e232a3aeb68706c5b22bf (diff) | |
Add feature to guard starting the credential manager system service on certain devices
Test: Built and deployed locally
Bug: 247851514
Change-Id: I514459a5a652dd5c8d545db502f0e5fdbe23374c
| -rw-r--r-- | data/etc/android.software.credentials.xml | 19 | ||||
| -rw-r--r-- | data/etc/handheld_core_hardware.xml | 1 | ||||
| -rw-r--r-- | data/etc/tablet_core_hardware.xml | 1 |
3 files changed, 21 insertions, 0 deletions
diff --git a/data/etc/android.software.credentials.xml b/data/etc/android.software.credentials.xml new file mode 100644 index 0000000000..234d14411c --- /dev/null +++ b/data/etc/android.software.credentials.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2022 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<permissions> + <feature name="android.software.credentials" /> +</permissions> diff --git a/data/etc/handheld_core_hardware.xml b/data/etc/handheld_core_hardware.xml index 8fdd8d06d5..08330126c7 100644 --- a/data/etc/handheld_core_hardware.xml +++ b/data/etc/handheld_core_hardware.xml @@ -52,6 +52,7 @@ <feature name="android.software.print" /> <feature name="android.software.companion_device_setup" /> <feature name="android.software.autofill" /> + <feature name="android.software.credentials" /> <feature name="android.software.cant_save_state" /> <feature name="android.software.secure_lock_screen" /> <feature name="android.software.window_magnification" /> diff --git a/data/etc/tablet_core_hardware.xml b/data/etc/tablet_core_hardware.xml index 59d5b10947..6af4d91418 100644 --- a/data/etc/tablet_core_hardware.xml +++ b/data/etc/tablet_core_hardware.xml @@ -52,6 +52,7 @@ <feature name="android.software.print" /> <feature name="android.software.companion_device_setup" /> <feature name="android.software.autofill" /> + <feature name="android.software.credentials" /> <feature name="android.software.cant_save_state" /> <feature name="android.software.secure_lock_screen" /> <feature name="android.software.window_magnification" /> |