Merge "Hero suggestion is announced as disabled by talkback"
This commit is contained in:
committed by
Android (Google) Code Review
commit
98311126dc
@@ -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 -> {
|
||||||
|
Reference in New Issue
Block a user