Add new permission for updating system fonts

Bug: 173636664
Test: N/A
Change-Id: Ie27d75531a1e603d400afc3d1f521783c2599282
This commit is contained in:
Seigo Nonaka
2021-01-07 14:39:53 -08:00
parent 6d6a948994
commit c7bf2136f5
2 changed files with 6 additions and 0 deletions

View File

@@ -252,6 +252,7 @@ package android {
field public static final String TV_VIRTUAL_REMOTE_CONTROLLER = "android.permission.TV_VIRTUAL_REMOTE_CONTROLLER";
field public static final String UNLIMITED_SHORTCUTS_API_CALLS = "android.permission.UNLIMITED_SHORTCUTS_API_CALLS";
field public static final String UPDATE_APP_OPS_STATS = "android.permission.UPDATE_APP_OPS_STATS";
field public static final String UPDATE_FONTS = "android.permission.UPDATE_FONTS";
field public static final String UPDATE_LOCK = "android.permission.UPDATE_LOCK";
field public static final String UPDATE_TIME_ZONE_RULES = "android.permission.UPDATE_TIME_ZONE_RULES";
field public static final String UPGRADE_RUNTIME_PERMISSIONS = "android.permission.UPGRADE_RUNTIME_PERMISSIONS";

View File

@@ -3178,6 +3178,11 @@
<permission android:name="android.permission.MANAGE_CREDENTIAL_MANAGEMENT_APP"
android:protectionLevel="signature" />
<!-- Allows a font updater application to request that the system installs/uninstalls/updates
font files. @SystemApi @hide -->
<permission android:name="android.permission.UPDATE_FONTS"
android:protectionLevel="signature|privileged" />
<!-- ========================================= -->
<!-- Permissions for special development tools -->
<!-- ========================================= -->