From 91ca748819c9164aba53f12df1d90cad64819da8 Mon Sep 17 00:00:00 2001 From: hyunyoungs Date: Wed, 31 Aug 2022 22:05:45 -0700 Subject: [PATCH] Fix blurry wallpaper when user locks on all apps surface Bug: 242746421 Test: manual TL;DR;; setState toState= NORMAL called when locking screen on ALLAPPS screen but mSurface==null hence depth is not reset to NORMAL state Change-Id: I26a37f7de8b0ecd481b36eebf07e1b79f8b0035c --- .../com/android/launcher3/statehandlers/DepthController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickstep/src/com/android/launcher3/statehandlers/DepthController.java b/quickstep/src/com/android/launcher3/statehandlers/DepthController.java index 1311b1d629..4b8b5f7d7c 100644 --- a/quickstep/src/com/android/launcher3/statehandlers/DepthController.java +++ b/quickstep/src/com/android/launcher3/statehandlers/DepthController.java @@ -141,7 +141,7 @@ public class DepthController extends BaseDepthController implements StateHandler @Override public void setState(LauncherState toState) { - if (mSurface == null || mIgnoreStateChangesDuringMultiWindowAnimation) { + if (mIgnoreStateChangesDuringMultiWindowAnimation) { return; }