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

Commit f54508b4 authored by Evan Laird's avatar Evan Laird
Browse files

[battery] implement RTL naively

Due to the fact that the battery uses its own glyphs for rendering, we
don't want to flip the text itself. This change adds handlers for RTL in
the BatteryLayout and each of the individual components.

When RTL, the fill will go in the reverse direction, and the battery cap
will be flipped. Attributions are not flipped due to the '?' symbol not
being something that can RTL.

Test: BatteryScreenshotTest
Test: manual
Bug: 420459283
Flag: com.android.settingslib.flags.new_status_bar_icons
Flag: com.android.systemui.status_bar_root_modernization
Change-Id: I213006a5dd05cf80f979b261a58f2f0b330012ba
parent b8f396ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment