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

Commit 4fd1ae45 authored by Chandru S's avatar Chandru S
Browse files

Set early wakeup signal when shade is expanded through a11y GLOBAL_ACTION_QUICK_SETTINGS

Most tests use this method to open QS shade instead of swiping down on the screen leading to performance regressions during the test run because the early wakeup signal is not early enough.

Bug: 392209635
Bug: 408379996
Bug: 415563164
Bug: 416225534
Flag: com.android.systemui.bouncer_ui_revamp
Test: similar change for notification shade was verified using an ab run.
Change-Id: I2a7716346a9f593c57734ad76484f5a914ff8842
parent 463796b7
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1343,6 +1343,11 @@ public final class NotificationPanelViewController implements
            mLockscreenShadeTransitionController.goToLockedShade(
                    /* expandedView= */null, /* needsQSAnimation= */true);
        } else if (isFullyCollapsed()) {
            if (!SceneContainerFlag.isEnabled() && Flags.bouncerUiRevamp()) {
                // Mark the bit that indicates that shade is going to expand when shade is opened
                // through AccessibilityService.GLOBAL_ACTION_QUICK_SETTINGS
                mWindowRootViewBlurInteractor.setTrackingShadeMotion(true);
            }
            expand(true /* animate */);
        } else {
            mQsController.traceQsJank(true /* startTracing */, false /* wasCancelled */);