Merge "Reset blur radius after dialog is gone" into rvc-dev am: 88c870e6e8
Change-Id: Ic716220e93c0c28bf42b99ac69673ff198c7bc84
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user