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

Commit ec6b5e1f authored by Wu Ahan's avatar Wu Ahan Committed by Automerger Merge Worker
Browse files

Merge "Refine LatencyTracker hook point for notification shade swipe" am: fdf14f9a

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

Change-Id: I614759eca7effc67d080d2e3806f75a3d3e6cead
parents fc93c074 fdf14f9a
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;