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

Commit 7b71c2ee 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

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

Change-Id: I834c566de468c086c6f27aa8e71cbcdfd996f27d
parents e81cab2f c518932f
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