Merge "Fixing QS not visible when opening split shade with adb command" into tm-qpr-dev am: dc5d95dba0

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

Change-Id: I559a72e8a33beee14e6f61ed4466291d94ef2d42
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Michał Brzeziński
2022-11-01 16:34:58 +00:00
committed by Automerger Merge Worker
2 changed files with 2 additions and 2 deletions

View File

@@ -2015,7 +2015,7 @@ public final class NotificationPanelViewController {
// case but currently motion in portrait looks worse than when using flingSettings. // case but currently motion in portrait looks worse than when using flingSettings.
// TODO: make below function transitioning smoothly also in portrait with null target // TODO: make below function transitioning smoothly also in portrait with null target
mLockscreenShadeTransitionController.goToLockedShade( mLockscreenShadeTransitionController.goToLockedShade(
/* expandedView= */null, /* needsQSAnimation= */false); /* expandedView= */null, /* needsQSAnimation= */true);
} else if (isFullyCollapsed()) { } else if (isFullyCollapsed()) {
expand(true /* animate */); expand(true /* animate */);
} else { } else {

View File

@@ -1282,7 +1282,7 @@ public class NotificationPanelViewControllerTest extends SysuiTestCase {
mNotificationPanelViewController.expandWithQs(); mNotificationPanelViewController.expandWithQs();
verify(mLockscreenShadeTransitionController).goToLockedShade( verify(mLockscreenShadeTransitionController).goToLockedShade(
/* expandedView= */null, /* needsQSAnimation= */false); /* expandedView= */null, /* needsQSAnimation= */true);
} }
@Test @Test