Merge "Directly assign mDepth" into sc-v2-dev am: c518932f74

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16622831

Change-Id: I834c566de468c086c6f27aa8e71cbcdfd996f27d
This commit is contained in:
Lucas Dupin
2022-01-13 23:37:21 +00:00
committed by Automerger Merge Worker

View File

@@ -289,9 +289,8 @@ public class DepthController implements StateHandler<LauncherState>,
if (Float.compare(mDepth, depthF) == 0) {
return;
}
if (dispatchTransactionSurface(depthF)) {
mDepth = depthF;
}
dispatchTransactionSurface(depthF);
mDepth = depthF;
}
public void onOverlayScrollChanged(float progress) {