summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Jared Duke <jdduke@google.com> 2022-03-02 13:10:19 -0800
committer Jared Duke <jdduke@google.com> 2022-03-02 13:10:19 -0800
commitc8593984523978da380181cd15c3c496b9a5a65d (patch)
tree4b9c6a623b48ffffce70ee7f877c1efd6eb489e9 /libs/androidfw/StringPool.cpp
parentaa0ee6502b89864f03a48180abe7b61cc074d1da (diff)
Avoid unnecessary Clock GC churn
Avoid recreating SimpleDateFormat and DateTimePatternGenerator objects for each clock update. While the allocation sizes are relatively small, they are continuous, and potentially frequent when seconds are shown. Test: atest SystemUITests:StatusBarTest + visual inspection Bug: 204187068 Change-Id: Ia267c6df44002328c6c32115326dc092ee89393f
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions