Fixing surface blur when using multiple surfaces
Separating the depth controller logic into a base class so that different controllers can be used for different surfaces Bug: 236780815 Test: Verified locally Change-Id: I2bd7ed50438453d6e41c73c8001a0d6a73091653
This commit is contained in:
@@ -110,7 +110,7 @@ import java.util.stream.Stream;
|
||||
*/
|
||||
public abstract class BaseQuickstepLauncher extends Launcher {
|
||||
|
||||
private DepthController mDepthController = new DepthController(this);
|
||||
private DepthController mDepthController;
|
||||
private QuickstepTransitionManager mAppTransitionManager;
|
||||
|
||||
/**
|
||||
@@ -247,7 +247,6 @@ public abstract class BaseQuickstepLauncher extends Launcher {
|
||||
@Override
|
||||
public void onScrollChanged(float progress) {
|
||||
super.onScrollChanged(progress);
|
||||
mDepthController.onOverlayScrollChanged(progress);
|
||||
onTaskbarInAppDisplayProgressUpdate(progress, MINUS_ONE_PAGE_PROGRESS_INDEX);
|
||||
}
|
||||
|
||||
@@ -345,6 +344,7 @@ public abstract class BaseQuickstepLauncher extends Launcher {
|
||||
mAppTransitionManager.registerRemoteTransitions();
|
||||
|
||||
mTISBindHelper = new TISBindHelper(this, this::onTISConnected);
|
||||
mDepthController = new DepthController(this);
|
||||
}
|
||||
|
||||
private void onTISConnected(TISBinder binder) {
|
||||
|
||||
Reference in New Issue
Block a user