commit | 96d9c64752e1447ab109bfe8baf26020403612ae | [log] [tgz] |
---|---|---|
author | Seigo Nonaka <nona@google.com> | Wed Feb 03 13:18:18 2021 -0800 |
committer | Seigo Nonaka <nona@google.com> | Thu Feb 04 16:42:18 2021 -0800 |
tree | 357cc4f3d98f0e8a4a71c0bf0cf1522b9628591c | |
parent | 792a5985bb312f46e3cf38b659a444387644a925 [diff] |
Reduce the memory usage in system_server SystemFonts and related classes are now aggressively used in system server. To reduce the memory impact, use ArrayMap/Set instead of HashMap/Set. Also, the language tags are duplicated in two places, one in Java and one in Native object. Remove Java reference. Bug: 178472803 Test: N/A Change-Id: Id94b68bd34a1958fda67512dcdc683b20b12003f