Add a configuration to enable or disable support for repair mode

Enables or disables the platform's repair mode. The feature creates
a secure environment to protect the user's privacy when the device
is being repaired. Off by default, since OEMs may have had a similar
feature on their devices.

Bug: 277560577
Test: Build
Change-Id: I6217b00b488851c63f3249c74ca2b64ace29806f
This commit is contained in:
Rhed Jao
2023-04-11 07:06:17 +00:00
parent d0b51cec59
commit 37f2d12821
2 changed files with 7 additions and 0 deletions

View File

@@ -6451,4 +6451,9 @@
<!-- Whether the AOSP support for app cloning building blocks is to be enabled for the
device. -->
<bool name="config_enableAppCloningBuildingBlocks">true</bool>
<!-- Enables or disables support for repair mode. The feature creates a secure
environment to protect the user's privacy when the device is being repaired.
Off by default, since OEMs may have had a similar feature on their devices. -->
<bool name="config_repairModeSupported">false</bool>
</resources>

View File

@@ -4904,6 +4904,8 @@
<java-symbol type="bool" name="config_safetyProtectionEnabled" />
<java-symbol type="bool" name="config_repairModeSupported" />
<java-symbol type="string" name="config_devicePolicyManagementUpdater" />
<java-symbol type="string" name="config_deviceSpecificDeviceStatePolicyProvider" />