Merge "Add stub method isLockscreenLiveWallpaperEnabled() in qpr" into tm-qpr-dev

This commit is contained in:
Aurélien Pomini
2023-01-03 16:34:42 +00:00
committed by Android (Google) Code Review

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>