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

Commit de9e6ed0 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: 459da77d

Change-Id: I6a92d9fe7e82315031f61b6cb6fbac4543c202af
parents 8cc9303a 459da77d
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -1903,6 +1903,7 @@ public class GlobalActionsDialog implements DialogInterface.OnDismissListener,


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


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


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