[Battery] RTL support
Apply the following layoutDirection-dependent changes in the unified battery icon: 1. Fill layer now reverses the canvas 2. Frame and frame-bg are auto-mirrored 3. Attributions have checks for RTL mode layouts and adjust their offsets as such Numerical text does not have an LTR rendering mode, so the foreground attributions of the battery do not mirror. Test: manual setting RTL mode Bug: 314812750 Flag: ACONFIG com.android.settingslib.flags.new_status_bar_icons DEVELOPMENT Change-Id: I581ec376e6004a76dbc96e1ec0be5e14dafa8fb7
Loading
Please register or sign in to comment