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

Commit fdf14f9a authored by Wu Ahan's avatar Wu Ahan Committed by Android (Google) Code Review
Browse files

Merge "Refine LatencyTracker hook point for notification shade swipe"

parents df2c30b4 ad46c022
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -207,8 +207,9 @@ public class OverviewProxyService extends CurrentUserTracker implements
            try {
                // TODO move this logic to message queue
                mStatusBarOptionalLazy.ifPresent(statusBarLazy -> {
                    mHandler.post(()-> {
                    StatusBar statusBar = statusBarLazy.get();
                    statusBar.getPanelController().startExpandLatencyTracking();
                    mHandler.post(()-> {
                        int action = event.getActionMasked();
                        if (action == ACTION_DOWN) {
                            mInputFocusTransferStarted = true;
+0 −3
Original line number Diff line number Diff line
@@ -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;