Merge "Directly assign mDepth" into sc-v2-dev

This commit is contained in:
Lucas Dupin
2022-01-13 23:19:20 +00:00
committed by Android (Google) Code Review

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) {