From 1e3687d5a129ca590102868d4ef6fd2e73407971 Mon Sep 17 00:00:00 2001 From: Vadim Tryshev Date: Wed, 2 May 2018 13:54:38 -0700 Subject: [PATCH] Making Clear-all a "button" for accessibility. To get it announced as "Clar all button", not just "clear all". Bug: 72222505 Test: Manual Change-Id: Ied1a036fda77c38af39db868d3dc1ae443982bcd --- quickstep/src/com/android/quickstep/views/ClearAllButton.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quickstep/src/com/android/quickstep/views/ClearAllButton.java b/quickstep/src/com/android/quickstep/views/ClearAllButton.java index 14867ab789..f3a0e4f631 100644 --- a/quickstep/src/com/android/quickstep/views/ClearAllButton.java +++ b/quickstep/src/com/android/quickstep/views/ClearAllButton.java @@ -23,9 +23,9 @@ import android.os.Bundle; import android.support.annotation.Nullable; import android.util.AttributeSet; import android.view.accessibility.AccessibilityNodeInfo; -import android.widget.TextView; +import android.widget.Button; -public class ClearAllButton extends TextView { +public class ClearAllButton extends Button { RecentsView mRecentsView; public ClearAllButton(Context context, @Nullable AttributeSet attrs) {