[SB] Don't crop Burmese characters in status bar clock.
Previously, we force-set the clock height to the font height in order to fix font scaling (see I653584d5963b38ce2ef2ba05ca9df63280aac128, b/298064328, and b/291168760). However, that font height doesn't take into account characters that might descend below the baseline. That wasn't a problem for Western arabic numerals, but is a problem for other locales like Burmese. It looks like setting a minimum height on the Clock and not force-setting the height to the font height fixes b/373765578 without regressing on b/298064328 or b/291168760. Fixes: 373765578 Flag: EXEMPT bugfix Test: With Western arabic numeral clock, verify clock is always centered with notification icons. Increase & decrease font & display size, verify clock size increases & decreases size at the same rate as notification icons. Test: With Burmese numeral clock, verify the same Change-Id: I96ae59b5f4123d5f7a31189e408320b6d962a704
Loading
Please register or sign in to comment