Hero suggestion is announced as disabled by talkback

- Removed calls to disable view. No ripple effect seen even after
  the change

bug: 65851388
Test: Manually tested and verified
Change-Id: I876696a3e7351d586e6d045c8b2d07676f96ea9d
This commit is contained in:
Ajay Nadathur
2017-09-29 13:17:52 -07:00
parent 0f3bb0447f
commit 8057f3b6aa

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 -> {