diff options
| author | 2021-01-07 14:39:53 -0800 | |
|---|---|---|
| committer | 2021-01-21 16:56:45 -0800 | |
| commit | c7bf2136f5fa652aec8b642e66a4ffe7cf8ac8a5 (patch) | |
| tree | f4ba65f409bcdf9a32a8806cfd4b65aaac72d505 | |
| parent | 6d6a9489940a50d31cebe765cb994f1c2ca5e96e (diff) | |
Add new permission for updating system fonts
Bug: 173636664
Test: N/A
Change-Id: Ie27d75531a1e603d400afc3d1f521783c2599282
| -rw-r--r-- | core/api/system-current.txt | 1 | ||||
| -rw-r--r-- | core/res/AndroidManifest.xml | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/core/api/system-current.txt b/core/api/system-current.txt index a4fa02c515a5..79b7567e2e84 100644 --- a/core/api/system-current.txt +++ b/core/api/system-current.txt @@ -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"; diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index f1df1c5ce6aa..ab47b7e60137 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -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 --> <!-- ========================================= --> |