Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 83f38a1b authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Do not select hint indicator when talkback is enabled." into sc-v2-dev

parents 08d6bcbd e200dceb
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -636,7 +636,9 @@ public abstract class AuthBiometricView extends LinearLayout {
        mIndicatorView.setText(message);
        mIndicatorView.setTextColor(mTextColorError);
        mIndicatorView.setVisibility(View.VISIBLE);
        mIndicatorView.setSelected(true);
        // select to enable marquee unless a screen reader is enabled
        mIndicatorView.setSelected(!mAccessibilityManager.isEnabled()
                || !mAccessibilityManager.isTouchExplorationEnabled());
        mHandler.postDelayed(resetMessageRunnable, mInjector.getDelayAfterError());

        Utils.notifyAccessibilityContentChanged(mAccessibilityManager, this);