OSDN Git Service

Hero suggestion is announced as disabled by talkback
authorAjay Nadathur <ajayns@google.com>
Tue, 10 Oct 2017 19:19:30 +0000 (12:19 -0700)
committerAjay Nadathur <ajayns@google.com>
Tue, 10 Oct 2017 23:36:35 +0000 (16:36 -0700)
- Removed calls to disable view. No ripple effect seen even after that
bug: 65851388
NOTE: cherry picked from master.
Merged-In: I876696a3e7351d586e6d045c8b2d07676f96ea9d
Test: manually tested

Change-Id: Iae377e763ed62b9448221843ed77b4605ad81379

src/com/android/settings/dashboard/suggestions/SuggestionAdapter.java

index 10c150d..9182945 100644 (file)
@@ -99,8 +99,6 @@ public class SuggestionAdapter extends RecyclerView.Adapter<DashboardItemHolder>
         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 -> {