commit | b42e980c6ca9e78c83c60777a1e860a6cadd042f | [log] [tgz] |
---|---|---|
author | Jordan Jozwiak <jjoz@google.com> | Fri Mar 13 18:38:44 2020 +0000 |
committer | Jordan Jozwiak <jjoz@google.com> | Wed Mar 25 17:13:09 2020 -0700 |
tree | e8de84bde28bf7e17a27ce8923531adb9db18d04 | |
parent | fdbb0fce168f77a0970b4941ebd49d3a03370eeb [diff] |
Throttle distraction dispatch events Rather than dispatch all change events immediately, throttle them based on the specified duration and queue a future dispatch based on that max throttle frequency. Bug: 148231321 Test: atest DriverDistractionExperimentalFeatureServiceTest Change-Id: I7cb95a573d40a499abf52bed6af24ed28dc3fec5
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.