diff options
| author | Adam Bookatz <bookatz@google.com> | 2022-01-12 09:56:18 -0800 |
|---|---|---|
| committer | Adam Bookatz <bookatz@google.com> | 2022-01-24 19:41:24 -0800 |
| commit | 69444e10e89c9ac255aec66cea57bcac402a8440 (patch) | |
| tree | 13a87256558c05195d535aadb182ec391c3419b3 /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | 12091ce8238f2dafc83798edc2f1e96557d14cef (diff) | |
SystemService post-completed user event
Introduces a new SystemService stage that indicates that user events
(user-switch, user-starting, user-unlocked) have completed. This can be
used by services for non-urgent tasks that must be completed after the
event in question, but can be delayed until later.
As long as they happen close enough in time, only a single event will be
sent (per user) which will contain information about all the
onUser-completion events it represents.
TODO: Also trigger the call when the user-switch UX has completed
(rather than waiting for the hard-coded delay). First we need to find an
appropriate signal for "switch UX is complete".
Test: atest UserControllerTest
Test: manual confirmation using VoiceInteractionManagerService
Bug: 197344658
Change-Id: Id8e6ce8e9c46f86d48d0a76085123c0c3dd1f2ea
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
