diff options
author | Seigo Nonaka <nona@google.com> | 2021-03-03 14:03:43 -0800 |
---|---|---|
committer | Seigo Nonaka <nona@google.com> | 2021-03-09 18:13:20 -0800 |
commit | 84383b5ef87586804238c5dc62a2f274e7deb82e (patch) | |
tree | 341e64addf0dfb9c394f532aab6f4fab5b43360f /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 5b7186166d41ebb1e28121f1c6e3344edd65289b (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions