From a3f5f22cbced8647fbf2c57bb84e722d14a5a0de Mon Sep 17 00:00:00 2001 From: Kohsuke Yatoh Date: Wed, 9 Jun 2021 20:09:49 +0000 Subject: Read font attributes from buffer. minikin::Font::typeface() is expensive because it will open the font file. Font attribute getters should avoid calling it. Bug: 188201287 Test: atest UpdatableSystemFontTest Test: atest CtsGraphicsTestCases:FontTest Test: atest CtsGraphicsTestCases:SystemFontsTest Change-Id: Ic8554f6dfacbe27ddfea6b375633c96bced2cc09 --- tests/UpdatableSystemFontTest/Android.bp | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/UpdatableSystemFontTest/Android.bp') diff --git a/tests/UpdatableSystemFontTest/Android.bp b/tests/UpdatableSystemFontTest/Android.bp index ea5a43104bba..e07fbbf7a1c1 100644 --- a/tests/UpdatableSystemFontTest/Android.bp +++ b/tests/UpdatableSystemFontTest/Android.bp @@ -27,6 +27,7 @@ android_test { libs: ["android.test.runner"], static_libs: [ "androidx.test.ext.junit", + "androidx.test.uiautomator_uiautomator", "compatibility-device-util-axt", "platform-test-annotations", "truth-prebuilt", -- cgit v1.2.3-59-g8ed1b