commit | abd229b71aded9ce3958a60650bced7c991748e9 | [log] [tgz] |
---|---|---|
author | Badhri Jagan Sridharan <Badhri@google.com> | Thu Feb 09 19:45:21 2017 -0800 |
committer | Badhri Jagan Sridharan <badhri@google.com> | Thu Mar 09 23:23:55 2017 +0000 |
tree | 2371ff2fed9690acc886cdbe8a6da7adef086ad1 | |
parent | 843aba77452704837320b5951be819e2fc3dd24f [diff] |
Introduce debounce to filter rapidly toggling type-c ports Type-c ports can quickly toggle between connected/disconnected states. Introduce debounce to prevent sending spurious notifications. Cherry-pick: https://android-review.googlesource.com/#/c/338266/ Bug: 34972898 Test: notification should not be queued for a pixel-c charger not connected to the power outlet. Change-Id: I4aa19f9f864fe5b77e65f6a07a3184d8aba1f5fc