diff options
2 files changed, 2 insertions, 4 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/recents/OverviewProxyService.java b/packages/SystemUI/src/com/android/systemui/recents/OverviewProxyService.java index ddf30ad663dd..c27b0473f16c 100644 --- a/packages/SystemUI/src/com/android/systemui/recents/OverviewProxyService.java +++ b/packages/SystemUI/src/com/android/systemui/recents/OverviewProxyService.java @@ -207,8 +207,9 @@ public class OverviewProxyService extends CurrentUserTracker implements try { // TODO move this logic to message queue mStatusBarOptionalLazy.ifPresent(statusBarLazy -> { + StatusBar statusBar = statusBarLazy.get(); + statusBar.getPanelController().startExpandLatencyTracking(); mHandler.post(()-> { - StatusBar statusBar = statusBarLazy.get(); int action = event.getActionMasked(); if (action == ACTION_DOWN) { mInputFocusTransferStarted = true; diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationShadeWindowViewController.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationShadeWindowViewController.java index a3d3c2bb0af5..3db3ab5a56c8 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationShadeWindowViewController.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationShadeWindowViewController.java @@ -224,9 +224,6 @@ public class NotificationShadeWindowViewController { if (!isCancel && mService.shouldIgnoreTouch()) { return false; } - if (isDown && mNotificationPanelViewController.isFullyCollapsed()) { - mNotificationPanelViewController.startExpandLatencyTracking(); - } if (isDown) { setTouchActive(true); mTouchCancelled = false; |