diff options
| author | 2022-08-10 14:18:52 +0000 | |
|---|---|---|
| committer | 2022-08-11 10:37:07 +0000 | |
| commit | 7c94b7a9ef3b37e31d320e351caf0fe058e20bdf (patch) | |
| tree | 3a0c5550bcd6c6853a582c09d30e63b69be713ab /libs/androidfw/ResourceTimer.cpp | |
| parent | 83f3bbb832e7b21545d5aa95c0a817db37d8d3b9 (diff) | |
Ensure displayId isn't translated
String.format() will also translate some strings. When the phone's
language is set to something that doesn't use the Western Arabic numeral
system, these numbers are translated as well, which means that the
display device config files cannot be found, as they are described by
their display id. This cl ensures the Locale is the same as the root locale when calling String.format() for the ddc path, meaning they won't get translated.
Bug: 241871531
Test: adb shell dumpsys display | grep DisplayDeviceConfig
Change-Id: I10b022c04c743f2eb287426a8a9026cc0c75c276
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions