summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Kevin Jeon <kevinjeon@google.com> 2023-09-28 17:35:56 -0400
committer Kevin Jeon <kevinjeon@google.com> 2023-09-28 18:16:56 -0400
commite84af98835bf99fce80ef7572f8c5841e449aa73 (patch)
treecc2b4fd447657121fdee3eb24ee6693f22d82882 /libs/androidfw/FileStream.cpp
parent4d91e437b0674047de0ad0ef1eb0dd6634177c29 (diff)
Fix incorrect number formatting in dumpsys meminfo
This change updates the printRow() helper method that ActivityThread.dumpMemInfo() references to include Locale.US, so that numbers will be formatted correctly. This change also replaces an incorrect %s with %d in the format string used for three-column rows. Test: Change the system locale to a different language (Arabic) and verify that dumpsys meminfo produces correctly-formatted values. Bug: 301934161 Change-Id: If814796a1cf0302a54a02fa23e82d21a3213ea10
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions