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

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

Merge "Reset blur radius after dialog is gone" into rvc-dev am: 88c870e6 am: a2c31b3c

Change-Id: I40bac4f7c6cfbb05299391351e945a2a762fa807
parents c5c5aa33 a2c31b3c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1903,6 +1903,7 @@ public class GlobalActionsDialog implements DialogInterface.OnDismissListener,

        private void completeDismiss() {
            mNotificationShadeWindowController.setForceHasTopUi(mHadTopUi);
            mDepthController.updateGlobalDialogVisibility(0, null /* view */);
            super.dismiss();
        }

+1 −1
Original line number Diff line number Diff line
@@ -189,7 +189,7 @@ class NotificationShadeDepthController @Inject constructor(
        choreographer.postFrameCallback(updateBlurCallback)
    }

    fun updateGlobalDialogVisibility(visibility: Float, dialogView: View) {
    fun updateGlobalDialogVisibility(visibility: Float, dialogView: View?) {
        globalActionsSpring.animateTo(blurUtils.blurRadiusOfRatio(visibility), dialogView)
    }