diff options
| author | 2024-11-13 18:21:32 +0000 | |
|---|---|---|
| committer | 2024-11-13 18:32:17 +0000 | |
| commit | c00d6ab759bda49bc71ed9f35a48beec4fa86d46 (patch) | |
| tree | 36aee269f6a9d6e87f48d13cc5e60df8a841cf1b /libs/androidfw/ResourceTimer.cpp | |
| parent | 9b4fcde939472adb8816e202f4a7b97c639492bc (diff) | |
Some fixes related to BrightnessWarningToast
1. Calling WM#removeViewImmediate when the toastView is attached
and shown to avoid the crash
2. Respect resId parameter in BrightnessController#showToast
Flag: com.android.systemui.show_toast_when_app_control_brightness
Bug: 363225340
Test: atest SystemUITests:BrightnessControllerTest
Change-Id: Ib712bf5a10279d02079d3be0f0488fa4c4d45cd6
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions