Add factory reset intent to the settings app.

Bug: 302016478
Test: local
Change-Id: I784395931b32746cb45a447b330ea8d57c17b2fe
This commit is contained in:
Omer Ozer
2023-09-29 18:07:25 +00:00
parent 066909bc07
commit e148ee7877
4 changed files with 91 additions and 5 deletions

View File

@@ -16,6 +16,11 @@
android:name="com.android.settings.USE_BIOMETRIC_PROVIDER"
android:protectionLevel="signature|privileged"/>
<!-- Permissions for acting as the factory reset preparation application. -->
<permission
android:name="com.android.settings.permissions.PREPARE_FACTORY_RESET"
android:protectionLevel="signature|privileged"/>
<uses-permission android:name="android.permission.REQUEST_NETWORK_SCORES" />
<uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" />
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />