Only execute shortcut handler on active application.
The shortcut handler is already executed when application becomes active. Executing it in performActionForShortcutItem will result in two execution which can cause issues (e.g. if action is to trigger camera). Bug: 1000940 Change-Id: Id89a1c1c88fc9594599772cb0170c7c6e08deded Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1789523Reviewed-by:Justin Cohen <justincohen@chromium.org> Reviewed-by:
Rohit Rao <rohitrao@chromium.org> Commit-Queue: Rohit Rao <rohitrao@chromium.org> Auto-Submit: Olivier Robin <olivierrobin@chromium.org> Cr-Commit-Position: refs/heads/master@{#695763}
Showing
Please register or sign in to comment