Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5c58aae5 authored by Aurélien Pomini's avatar Aurélien Pomini
Browse files

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
parent ae648c05
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment