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

Commit 470c987e authored by Lucas Dupin's avatar Lucas Dupin Committed by Automerger Merge Worker
Browse files

Merge "Directly assign mDepth" into sc-v2-dev am: c518932f am: 7b71c2ee

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

Change-Id: I4686c845583d85ff58899869ac18a9d87762c537
parents 05de8c87 7b71c2ee
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