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

Commit e8ba1b57 authored by Joseph Vincent's avatar Joseph Vincent Committed by Android (Google) Code Review
Browse files

Merge "Enable talkback in Header Text View in private space setup autoadvance screen" into main

parents 7da4f9e5 12054c7f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
package com.android.settings.privatespace;

import static android.text.Layout.BREAK_STRATEGY_SIMPLE;
import static android.view.View.ACCESSIBILITY_LIVE_REGION_POLITE;

import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
@@ -130,6 +131,7 @@ public class AutoAdvanceSetupFragment extends InstrumentedFragment {
                        inflater.inflate(R.layout.private_space_advancing_screen, container, false);
        mRootView.getHeaderTextView().setMaxLines(HEADER_TEXT_MAX_LINES);
        mRootView.getHeaderTextView().setBreakStrategy(BREAK_STRATEGY_SIMPLE);
        mRootView.getHeaderTextView().setAccessibilityLiveRegion(ACCESSIBILITY_LIVE_REGION_POLITE);
        updateHeaderAndIllustration();
        mHandler = new Handler(Looper.getMainLooper());
        mHandler.postDelayed(mUpdateScreenResources, DELAY_BETWEEN_SCREENS);