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
commit c518932f74
1 changed files with 2 additions and 3 deletions

View File

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