commit | d6238312f455742e2fafb9208d976eb8daeba2d6 | [log] [tgz] |
---|---|---|
author | Toni Barzic <tbarzic@google.com> | Fri Mar 02 18:26:13 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Mar 02 18:26:13 2018 |
tree | 58abd827194a0c863ef98cbc6a79dd80837e1116 | |
parent | 275d7467dae0220bf7942ac064f7065694444923 [diff] |
Add DetachableBaseHandler to ash/ Tracks HammerdClient and PowerManagerClient to detect if a detachable base (hammer) is connected/paired with the device. It keeps track of the last connected base per user - this information will be used to notify the user when the attached base is changed. DetachableBaseHandler does not track the active users, or session state - it depends on its clients to determine when a base is considered used/trusted by a user. BUG=796300,796342 Change-Id: Iaa3e8114dfb65a6e5654b166c4bc74522b30c80e Reviewed-on: https://chromium-review.googlesource.com/930182 Commit-Queue: Toni Barzic <tbarzic@chromium.org> Reviewed-by: Dan Erat <derat@chromium.org> Reviewed-by: Alexander Alekseev <alemate@chromium.org> Cr-Commit-Position: refs/heads/master@{#540560}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .