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

Commit 1e13be4c authored by Robert Horvath's avatar Robert Horvath Committed by Android (Google) Code Review
Browse files

Merge "Announce inattentive sleep warning for accessibility" into sc-dev

parents ef483c66 a9e51b3e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -93,6 +93,8 @@ public class InattentiveSleepWarningView extends FrameLayout {
        setAlpha(1f);
        setVisibility(View.VISIBLE);
        mWindowManager.addView(this, getLayoutParams(mWindowToken));
        announceForAccessibility(
                getContext().getString(R.string.inattentive_sleep_warning_message));
    }

    /**