commit | d38eee35740ffa78bd2343c995fded3f335a4035 | [log] [tgz] |
---|---|---|
author | Roy Chou <juchengchou@google.com> | Tue Jun 18 15:20:28 2024 +0000 |
committer | Roy Chou <juchengchou@google.com> | Fri Jun 21 07:12:05 2024 +0000 |
tree | 9cc40e8c603d6dceb26e28dd38342b320fee71e2 | |
parent | c92aa73766e6caadc0abad320950c33313b30a14 [diff] |
fix(brightness): adjust brightness slider bar layout width to fit in the window safe area In BrightnessDialog it uses the window full width to calculate the slider bar layout width. However the window full width may contain the display screen cutout area. Therefore, we change to calculate the window available width (for safe area) for the following slider bar width calculation. Bug: 347826058 Flag: EXEMPT bugfix Test: manually Change-Id: I2c6e94116759021356db82064c1a898a144a6d83