diff options
| author | 2024-06-03 14:31:56 +0000 | |
|---|---|---|
| committer | 2024-06-03 14:31:56 +0000 | |
| commit | 5c58aae54d2e7c208e2ff4cff0dd649ddebdc27e (patch) | |
| tree | aeca93c1f9c63c296924571953c4adc31fd91269 /libs/input/PointerController.cpp | |
| parent | ae648c05cba85b9d6649c8bf4890b564c7a71677 (diff) | |
Updates the dim for USER_SYSTEM if mCurrentUserId = null
If setWallpaperDimAmount is called during boot before
WallpaperManagerService#switchUser is called, it will produce a NPE
since the mCurrentUserId is still USER_NULL. Instead, update the dim for
USER_SYSTEM in that scenario.
Flag: NONE, the logic only changes in a case that would produce a NPE
otherwise.
Test: presubmit
Bug: 344545351
Change-Id: I3c8de053837e80fa6dc90f26b61e1f0f3af0eecf
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions