Merge "Fixed a a11y regression to click notifications" into oc-dev

This commit is contained in:
Selim Cinek
2017-06-21 18:48:53 +00:00
committed by Android (Google) Code Review

View File

@@ -303,7 +303,7 @@ public abstract class ActivatableNotificationView extends ExpandableOutlineView
@Override
public boolean performClick() {
if (mWasActivatedOnDown || !mNeedsDimming) {
if (mWasActivatedOnDown || !mNeedsDimming || isTouchExplorationEnabled()) {
return super.performClick();
}
return false;