Merge "Hero suggestion is announced as disabled by talkback"

This commit is contained in:
TreeHugger Robot
2017-10-10 23:25:26 +00:00
committed by Android (Google) Code Review

View File

@@ -157,8 +157,6 @@ public class SuggestionAdapter extends RecyclerView.Adapter<DashboardItemHolder>
final View primaryAction = holder.itemView.findViewById(android.R.id.primary); final View primaryAction = holder.itemView.findViewById(android.R.id.primary);
if (primaryAction != null) { if (primaryAction != null) {
clickHandler = primaryAction; clickHandler = primaryAction;
// set the item view to disabled to remove any touch effects
holder.itemView.setEnabled(false);
} }
clickHandler.setOnClickListener(v -> { clickHandler.setOnClickListener(v -> {