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

Skip to content
Commit 05b1563d authored by Matías Hernández's avatar Matías Hernández
Browse files

Don't apply the "dim wallpaper" effect if wallpaper is not supported

On auto, getSystemService(WallpaperManager) returns a non-null but non-working service (DisabledWallpaperManager) that fails on each method call (this seems like a rather unusual pattern). We detect this by calling isWallpaperSupported() and, if false, we won't try to apply the effect.

Bug: 327485783
Test: atest DefaultDeviceEffectsApplierTest
Change-Id: I1be7c902f4ae63d0b6191d9fcb106691052cbc55
parent 23283573
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment