Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug so that launcher search metrics session ends only if one is o…
…pen. This can occur when switching from clamshell mode to tablet mode. It also occurs when clicking on any item in the launcher in tablet mode, as two end session requests are made. This fix checks if a current session is open before logging a session end. Test: Added unit tests, works on DUT Bug: b/307812616 Change-Id: I45d3583c3973ba08f0479ec3f50cb4bbd1ceec30 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4974802 Reviewed-by: Dmitry Grebenyuk <dgrebenyuk@google.com> Commit-Queue: Lauren Commeignes <laurencom@chromium.org> Cr-Commit-Position: refs/heads/main@{#1216728}
- Loading branch information