Files
frameworks_base/packages/Shell
Seigo Nonaka 84383b5ef8 Update FontManager#getFontConfig to require permission
There is no security risk in getFontConfig without calling permissions
but for keeping compatibility it is recommended to have permissions
to all (non-mainline) system APIs.

To be able to test these APIs, grant UPDATE_FONTS permission to shell.

Bug: 181796732
Test: atest FontManagerTest
Change-Id: Ic1f663e1e01f3625a076e68949f717366e79f5fa
2021-03-09 18:13:20 -08:00
..
2021-02-12 23:58:11 +00:00