commit | 455f1bfc05bf972ee4fe8cd5fa135ed232126bb7 | [log] [tgz] |
---|---|---|
author | Seigo Nonaka <nona@google.com> | Mon Mar 27 19:46:51 2017 -0700 |
committer | Seigo Nonaka <nona@google.com> | Tue Mar 28 08:34:14 2017 -0700 |
tree | 99ccaa211a4faf4d2a1147c40a7155c9d2aeadca | |
parent | 2388f0c81c30274671d9ab28dde8cf36042d3214 [diff] |
Do not use many FDs in FontManagerService. Currently there are over 170 font files are installed in system directory. Opening 170+ files and keep them is not unacceptable. Pass URI instead. At the same time, this CL hides full font path from FontConfig since /system/fonts directory will be deprecated in future. Bug: 36660849 Test: android.text.cts.FontManagerTest passed Change-Id: I1d216dc9c6dec702a4ce3b946bfda6dcbe12b7fe