Merge "Disable notification shade close animation when occluded." into tm-qpr-dev am: a6bbdc72ac am: a4f3ea32fd

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19805316

Change-Id: Iba7acb7a0f3107c2d74a8305ed045eb5922530f6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Lucas Silva
2022-09-01 20:52:47 +00:00
committed by Automerger Merge Worker

View File

@@ -589,7 +589,7 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb
public void reset(boolean hideBouncerWhenShowing) {
if (mShowing) {
// Hide quick settings.
mNotificationPanelViewController.resetViews(/* animate= */ true);
mNotificationPanelViewController.resetViews(/* animate= */ !mOccluded);
// Hide bouncer and quick-quick settings.
if (mOccluded && !mDozing) {
mCentralSurfaces.hideKeyguard();