Skip to content
Commit 3a6db67b authored by Matthew Ng's avatar Matthew Ng Committed by Tim Joines
Browse files

Prevents scheduling sysui frames on smaller devices with no sim

The marquee text in the notification shade "No SIM sim card..." is shown
and animates even when the text is invisible when no sim is inserted.
The marque only shows on smaller devices such as android go devices.
This would lead to sysui scheduling unneccessary frames. Show the marquee
in CarrierText only when it is visible.

Later this should be removed and actual fix should go into TextView.

Bug: 68812918
Test: systrace sysui when launching settings from notification, no
frames are scheduled after notification is invisible
Change-Id: Iaa53345e8b4ba13b368dbdf3c04691a5fd89ad97
(cherry picked from commit 58cf4c1463c480d1e83c9db0eea8917e0304b552)
parent d1dc3524
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