Skip to content
Commit c8593984 authored by Jared Duke's avatar Jared Duke
Browse files

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
parent aa0ee650
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment