Skip to content
Commit e2c53140 authored by Roy Chou's avatar Roy Chou
Browse files

fix(non linear font scaling): fix status bar ui broken when 200% font scaling

As the bug description, the status bar date and battery persentage text ui are broken when 200% font scaling. We adjust the related dimens and update mechanism to assure the textview fontsize/height are correctly updated when font scaling changed.
Besides, we adjust the StatusBarIconView/OngoingPrivacyChip to make the status bar icon image size would also updated to proper size when font scaling changed.

Bug: 272071029
Test: manually - video attached in bug
      atest frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
      atest StatusBarIconViewTest
Change-Id: I6c4a32eff6473a0dc7cf819dad44fb75a34836c4
parent 9b198254
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