Disable talkback for title and subtitle in BP
Discussed with kerrykao@, disable talkback for title and subtitle in BP. Fixes: 267405624 Test: Manual (see bug) Change-Id: Ic913bd7f543da7a9a8d9b180b57071b1b079e837
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
android:singleLine="true"
|
||||
android:marqueeRepeatLimit="1"
|
||||
android:ellipsize="marquee"
|
||||
android:importantForAccessibility="no"
|
||||
style="@style/TextAppearance.AuthCredential.Title"/>
|
||||
|
||||
<TextView
|
||||
@@ -34,6 +35,7 @@
|
||||
android:singleLine="true"
|
||||
android:marqueeRepeatLimit="1"
|
||||
android:ellipsize="marquee"
|
||||
android:importantForAccessibility="no"
|
||||
style="@style/TextAppearance.AuthCredential.Subtitle"/>
|
||||
|
||||
<TextView
|
||||
|
||||
@@ -741,10 +741,10 @@ public abstract class AuthBiometricView extends LinearLayout {
|
||||
|
||||
mTitleView.setText(mPromptInfo.getTitle());
|
||||
|
||||
//setSelected could make marguee work
|
||||
// setSelected could make marquee work
|
||||
mTitleView.setSelected(true);
|
||||
mSubtitleView.setSelected(true);
|
||||
//make description view become scrollable
|
||||
// make description view become scrollable
|
||||
mDescriptionView.setMovementMethod(new ScrollingMovementMethod());
|
||||
|
||||
if (isDeviceCredentialAllowed()) {
|
||||
|
||||
Reference in New Issue
Block a user