Add a helper for launching note action
This adds a helper class for launching lock screen note from ash that provides a callback run when the launched note changes to active state (i.e. when the associated app window becomes visible). Note that current users of RequestNewLockScreenNote API, used to launch lock screen note, do not require launch callback - this will be needed for handling note launch due to stylus tool eject, specifically if the stylus is ejected while the display is forced off. Ejecting stylus should clear display "forced off" state, but this will be delayed if a lock screen note is launched until the note launch completes to avoid lock screen flashing before the note app UI is shown (see the linked bug). BUG=767711 Change-Id: I3f46202244c39f06ad26ce5240f28828e3e692b0 Reviewed-on: https://chromium-review.googlesource.com/758810 Commit-Queue: Toni Barzic <tbarzic@chromium.org> Reviewed-by:James Cook <jamescook@chromium.org> Cr-Commit-Position: refs/heads/master@{#515813}
Showing
Please register or sign in to comment