| commit | 30ebcc3926ec823dfba6b7f049e88c9c965b32aa | [log] [tgz] |
|---|---|---|
| author | Evan Laird <evanlaird@google.com> | Mon Apr 28 17:35:16 2025 -0400 |
| committer | Evan Laird <evanlaird@google.com> | Mon Apr 28 17:35:16 2025 -0400 |
| tree | 355720f28963b7158d767732953ad4f3d1b45002 | |
| parent | 9a04fbfedab50f5970c624dc77f5f2725fe8aee1 [diff] |
[sb] set maxLines to 1 for the battery estimate The bug: longer-ish battery remaining estimates can cause the text composable to wrap onto the second line. We don't want that. The fix: don't let it do that Test: manual; set font size / display size to largest when the estimate would have wrapped. Verify that it doesn't wrap. Fixes: 409157513 Flag: com.android.settingslib.flags.new_status_bar_icons Change-Id: I04ed28836ec4dd220553c70f7788083f551954f4