commit | 84383b5ef87586804238c5dc62a2f274e7deb82e | [log] [tgz] |
---|---|---|
author | Seigo Nonaka <nona@google.com> | Wed Mar 03 14:03:43 2021 -0800 |
committer | Seigo Nonaka <nona@google.com> | Tue Mar 09 18:13:20 2021 -0800 |
tree | 341e64addf0dfb9c394f532aab6f4fab5b43360f | |
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