From 8057f3b6aab59a79f77ce51dc843c898bf3e77f4 Mon Sep 17 00:00:00 2001 From: Ajay Nadathur Date: Fri, 29 Sep 2017 13:17:52 -0700 Subject: [PATCH] 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 --- .../settings/dashboard/suggestions/SuggestionAdapter.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/com/android/settings/dashboard/suggestions/SuggestionAdapter.java b/src/com/android/settings/dashboard/suggestions/SuggestionAdapter.java index 8502fa7f2cf..a9d0546664b 100644 --- a/src/com/android/settings/dashboard/suggestions/SuggestionAdapter.java +++ b/src/com/android/settings/dashboard/suggestions/SuggestionAdapter.java @@ -157,8 +157,6 @@ public class SuggestionAdapter extends RecyclerView.Adapter final View primaryAction = holder.itemView.findViewById(android.R.id.primary); if (primaryAction != null) { clickHandler = primaryAction; - // set the item view to disabled to remove any touch effects - holder.itemView.setEnabled(false); } clickHandler.setOnClickListener(v -> {