commit | 353937a62b77a41f83469cbad4ed76bc604bce34 | [log] [tgz] |
---|---|---|
author | Kohsuke Yatoh <kyatoh@google.com> | Mon May 03 09:51:59 2021 -0700 |
committer | Kohsuke Yatoh <kyatoh@google.com> | Mon May 03 11:07:17 2021 -0700 |
tree | b46ff347be8bb69268ffc4e080e271d3b7ec7287 | |
parent | f74e3b69d4b0283d29b32979369065d2296df0b9 [diff] |
Use FontManager Java API in tests. Thanks to commit 84383b5ef87586804238c5dc62a2f274e7deb82e, now Shell has UPDATE_FONTS permission and we can use it in instrumentation tests via UiAutomation#adoptShellPermissionIdentity(). Bug: 186966067 Test: atest UpdatableSystemFontTest Change-Id: Idd2043f53d95b7c904d563dd3ef1d1846841c0d6