Hero suggestion is announced as disabled by talkback

am: e7f5107303

Change-Id: Idba7b963c3a158335eb59fecdf036f444d3808b8
This commit is contained in:
Ajay Nadathur
2017-10-11 00:06:05 +00:00
committed by android-build-merger

View File

@@ -99,8 +99,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 -> {