commit | 5198c99c3e8660f26209dde852e539b705ac189d | [log] [tgz] |
---|---|---|
author | Anh Pham <anhph@google.com> | Wed Feb 10 14:15:30 2021 +0100 |
committer | Anh Pham <anhph@google.com> | Tue Feb 16 21:37:16 2021 +0100 |
tree | 4c5069f96c54eace190cd573f870a5a108c9dfc5 | |
parent | af91a91c5cce1263895ee804e961975ad7aab3a2 [diff] |
Subscribe to the microphone toggle state. When the microphone toggle is on, all connections are clamped down to 200 Hz. When the microphone toggle is off, the original rates of connections are recovered. Test: atest CtsSensorTestCases CtsSensorRatePermissionTestCases Bug: 136069189 Change-Id: Ifc446b726c4200e1a1dae5d7c3026238928383dc