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

Add method in WallpaperManager to get config_independentLockscreenLiveWallpaper

LockscreenWallpaper.java (and potentially other files) have access to a WallpaperManager instance, but no instance of context/resources.

To minimise changes, a hidden method boolean isLockscreenLiveWallpaperEnabled() has been added to WallpaperManager to get the config flag.

Other classes can use this flag and implement the new wallpaper logic when it is true.

Bug: 197814683
Test: treehugger (low-risk, no logic changes)
Change-Id: I791ba72f571f996906d2c23f97bba7b88b2fe21f
parent 7c3628fc
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