Merge "Fix double tapping notifications on lock screen."
This commit is contained in:
committed by
Android (Google) Code Review
commit
414b066328
@@ -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.
|
||||
*/
|
||||
|
||||
@@ -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 -> {
|
||||
|
||||
Reference in New Issue
Block a user