Merge "A11y services can perform click on keyguard notifs" into rvc-dev am: 6f7376eafa am: ecf7ab3cf6
Change-Id: Ic4737b79d5b73ecbfba7a3941ae4f6245f094064
This commit is contained in:
@@ -331,19 +331,6 @@ public abstract class ActivatableNotificationView extends ExpandableOutlineView
|
||||
.setDuration(ACTIVATE_ANIMATION_LENGTH);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean performClick() {
|
||||
if (!mNeedsDimming || (mAccessibilityManager != null
|
||||
&& mAccessibilityManager.isTouchExplorationEnabled())) {
|
||||
return super.performClick();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
boolean superPerformClick() {
|
||||
return super.performClick();
|
||||
}
|
||||
|
||||
/**
|
||||
* Cancels the hotspot and makes the notification inactive.
|
||||
*/
|
||||
|
||||
@@ -72,7 +72,7 @@ public class ActivatableNotificationViewController {
|
||||
} else {
|
||||
mView.makeInactive(true /* animate */);
|
||||
}
|
||||
}, mView::superPerformClick, mView::handleSlideBack,
|
||||
}, mView::performClick, mView::handleSlideBack,
|
||||
mFalsingManager::onNotificationDoubleTap);
|
||||
mView.setOnTouchListener(mTouchHandler);
|
||||
mView.setTouchHandler(mTouchHandler);
|
||||
|
||||
Reference in New Issue
Block a user