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
This commit is contained in:
Vadim Tryshev
2018-05-02 13:54:38 -07:00
parent f1db5a0b81
commit 1e3687d5a1

View File

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