commit | fa41c8ecb5bc0bea4e38e61445a8ec254adc5f64 | [log] [tgz] |
---|---|---|
author | Chris Ye <lzye@google.com> | Thu Dec 17 20:21:04 2020 -0800 |
committer | Chris Ye <lzye@google.com> | Fri Dec 18 09:45:24 2020 -0800 |
tree | 8febe4e8a7b47c357eafe5a24311e73008e8d9b2 | |
parent | b910c7dab0ee3e2bcea4fa92010875ee200e9eef [diff] |
Input device sensor manager event preallocation Preallocate sensor event for listener to avoid allocating for each sensor event notification and garbage collection. Bug: 161634265 Test: atest InputDeviceSensorManagerTest Change-Id: I9ef32d57116d0ee4fe7e7b331cb0b2b35d43806f