Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 112c0745 authored by Roman Birg's avatar Roman Birg Committed by Jessica Wagantall
Browse files

SystemUI: improve circle battery



While plugged in, the circle animation would cause the statusbar to
keep redrawing itself repeatedly, using up unnecessary cpu cycles,
even when idle.

- Removed circle animation in status bar
- Left animations on keyguard/notificaiton header
- Set layer type to hardware when animating for optimized quick drawing
- Cleaned up some logic and unnecessary locking
- Removed extra work done in each draw
- override onDraw instead of draw to let the View system decide when we
  should draw

CYNGNOS-1583

Change-Id: If0624ab6e3723f4522ebbd9ce583b142c1cb4606
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
parent 74c6cb51
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