Merge "Fix double tapping notifications on lock screen."

This commit is contained in:
TreeHugger Robot
2020-02-18 21:27:49 +00:00
committed by Android (Google) Code Review
2 changed files with 6 additions and 1 deletions

View File

@@ -336,6 +336,10 @@ public abstract class ActivatableNotificationView extends ExpandableOutlineView
return false;
}
boolean superPerformClick() {
return super.performClick();
}
/**
* Cancels the hotspot and makes the notification inactive.
*/

View File

@@ -72,7 +72,8 @@ public class ActivatableNotificationViewController {
} else {
mView.makeInactive(true /* animate */);
}
}, mView::performClick, mView::handleSlideBack, mFalsingManager::onNotificationDoubleTap);
}, mView::superPerformClick, mView::handleSlideBack,
mFalsingManager::onNotificationDoubleTap);
mView.setOnTouchListener(mTouchHandler);
mView.setTouchHandler(mTouchHandler);
mView.setOnDimmedListener(dimmed -> {