Fix double tapping notifications on lock screen.
http://ag/10273995 broke double tapping on notifications. This cl restores the behavior by replacing a call to ActivatableNotificationView#performClick with ExpandableOutlineView#performClick. That is to say, we needed to call the super method, as we did before the breaking cl was checked in. Bug: 149744457 Test: atest SystemUITests Change-Id: Ie77ade20f74b04eb0edbe0f1806938523068175a
This commit is contained in:
@@ -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