diff options
| author | 2023-10-14 05:22:13 +0000 | |
|---|---|---|
| committer | 2023-10-14 23:48:43 +0000 | |
| commit | 929d298d7a387b443d4abd5142a8465b9596dc84 (patch) | |
| tree | fa52a4d2663462da8da7942e221b8b8afcda285a /libs/androidfw/FileStream.cpp | |
| parent | 705e7fa07d324bffafb63974725efdd7ee02b10c (diff) | |
Extract variables related to Emoji to a separate class.
Looks like not all JDKs support Emoji patterns (introduced in UTK51). Once
we first invoke a method (even static, even unrelated to Emoji) in
`PeopleTileViewHelper`, for those JDKs which do not have the support,
the method invoke would not be successful. This CL extracts the Emoji
pattern compilation to a separate class, which delays the pattern
compilation only when it is necessary.
Test: atest -c SystemUIGoogleRoboRNGTests:com.android.systemui.people.PeopleSpaceScreenshotTest
Change-Id: Ic408374fc30f849eedbb60c6f470e432c46d0576
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions