Commit 74534ada authored by Sky Malice's avatar Sky Malice Committed by Commit Bot

[Touchless] Always set on click listener.

Bug: 974861
Change-Id: Ib56b8f6e260e1fd4d7c1f3ad3732450fe55eb2ee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1663019Reviewed-by: default avatarMatthew Jones <mdjones@chromium.org>
Commit-Queue: Sky Malice <skym@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670097}
parent f85facec
......@@ -198,6 +198,8 @@ public class TouchlessDialogPresenter extends Presenter {
listener.setIsMultiClickable(model.get(DialogListItemProperties.MULTI_CLICKABLE));
model.set(DialogListItemProperties.CLICK_LISTENER, listener);
view.setOnClickListener(listener);
} else {
view.setOnClickListener(model.get(DialogListItemProperties.CLICK_LISTENER));
}
} else if (DialogListItemProperties.MULTI_CLICKABLE == propertyKey) {
View.OnClickListener listener = model.get(DialogListItemProperties.CLICK_LISTENER);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment