Merge "Add stub method isLockscreenLiveWallpaperEnabled() in qpr" into tm-qpr-dev am: 27ea523b6a

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20794752

Change-Id: I8e634f17b6aeb92e1f3b0e0c327a4781e263e3ff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Aurélien Pomini
2023-01-03 23:08:08 +00:00
committed by Automerger Merge Worker

View File

@@ -752,6 +752,19 @@ public class WallpaperManager {
return sGlobals.mService; return sGlobals.mService;
} }
/**
* Temporary method for project b/197814683
* Starting from U, this will return true if the new wallpaper logic is enabled,
* i.e. if the lockscreen wallpaper always uses a wallpaperService and not a static image.
* In T, this is just a stub method that always return false.
*
* @return false
* @hide
*/
public boolean isLockscreenLiveWallpaperEnabled() {
return false;
}
/** /**
* Indicate whether wcg (Wide Color Gamut) should be enabled. * Indicate whether wcg (Wide Color Gamut) should be enabled.
* <p> * <p>