Refine LatencyTracker hook point for notification shade swipe
The hook point of LatencyTracker for ACTION_EXPAND_PANEL seems incorrect that we got the value way off in Pitot, refine the hook point. Bug: 169646405 Test: print logs, breakpoints Change-Id: I76cbcfa78386f27741d22f5849d25de274bac590
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user