Commit 7c550a5d authored by Abhishek Aggarwal's avatar Abhishek Aggarwal
Browse files

Merge branch '484-master-s_crash' into 'master'

BlissLauncher: dont set zoom when window token is null

See merge request !105
parents aacf2213 bb39d067
Pipeline #197099 passed with stage
in 12 minutes and 5 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