Commit bb39d067 authored by Abhishek Aggarwal's avatar Abhishek Aggarwal
Browse files

BlissLauncher: dont set zoom when window token is null

parent aacf2213
Pipeline #196759 passed with stage
in 4 minutes and 19 seconds
......@@ -24,6 +24,8 @@ class DepthManager(private val launcher: LauncherActivity) {
fun updateDepth() {
val windowToken = launcher.rootView.windowToken
setWallpaperZoomOut.invoke(wallpaperManager, windowToken, 1)
if (windowToken != null) {
setWallpaperZoomOut.invoke(wallpaperManager, windowToken, 1)
}
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment