Merge "Announce inattentive sleep warning for accessibility" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
1e13be4c99
@@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user