diff options
| author | 2023-03-21 15:28:15 +0000 | |
|---|---|---|
| committer | 2023-03-24 10:28:31 +0000 | |
| commit | 30a5744db044aca62b7f12ebe235464b9bd1bb02 (patch) | |
| tree | cc3030ac26b9503a39c6b80c329c4166487c9057 /tests/DynamicCodeLoggerIntegrationTests/AndroidTest.xml | |
| parent | a7763f5d20f3bde291df2f737d4bdc99a8067506 (diff) | |
Hide Notes Quick Affordance when Direct Boot user is locked
* Quick affordance should hide notes shortcut if direct boot user is locked;
* Once the user unlocks, notes is accessible from lock screen again;
For context:
* Quick affordance only evaluates the `lockScreenState` if the shortcut is in the lock screen. If a user changes the shortcut in Settings, the shortcut is not on the lock screen and `lockScreenState` does not matter.
* Notes is added as default shortcut for tablets but we keep it hidden. When a Stylus is used for the first time or the user set notes shortcut in Settings, `lockScreenState` will change to visible.
* A user can change the lock screen shortcut in Settings by: Settings -> Wallpaper & Style & Lock Screen Shortcuts.
Test: atest NoteTaskQuickAffordanceConfigTest
Fixes: b/266746835
Change-Id: I48dccd7784c1e00168afa723a32bcb96bf9dd13a
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/AndroidTest.xml')
0 files changed, 0 insertions, 0 deletions