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

Commit 55b77b43 authored by Amanda Lin Dietz's avatar Amanda Lin Dietz
Browse files

[Blinking Text Cursor Setting] Add ViewConfiguration API for getting text...

[Blinking Text Cursor Setting] Add ViewConfiguration API for getting text cursor blink interval from Settings

* Add a Secure setting for the text cursor blink rate.
* Define a new flagged getter API in ViewConfiguration that returns the setting value.
* Use this value in Editor to change the blink rate.
* Add testing methods for validating Editor behavior.
* Add a custom validator to limit acceptable values to a
  pre-defined range.
* Restore values to closest in set in SettingsBackupAgent.

Bug: 402134144
Bug: 385781377
Bug: 405251112
Flag: android.view.accessibility.text_cursor_blink_interval
Test: ViewConfigurationTest, EditTextTest, SettingsBackupAgentTest
Change-Id: I1dbee9c0461beccf649cb8b7f9f742c6c946d3f2
parent 76f860ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment