Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c518932f authored by Lucas Dupin's avatar Lucas Dupin Committed by Android (Google) Code Review
Browse files

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

parents c0a6d3fc 03064a1e
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -289,10 +289,9 @@ public class DepthController implements StateHandler<LauncherState>,
        if (Float.compare(mDepth, depthF) == 0) {
            return;
        }
        if (dispatchTransactionSurface(depthF)) {
        dispatchTransactionSurface(depthF);
        mDepth = depthF;
    }
    }

    public void onOverlayScrollChanged(float progress) {
        // Round out the progress to dedupe frequent, non-perceptable updates