commit | 6d31735c8a448460ae7c676781f25bbfe44d6263 | [log] [tgz] |
---|---|---|
author | Yu-Han Yang <yuhany@google.com> | Thu Mar 15 11:53:01 2018 -0700 |
committer | Yu-Han Yang <yuhany@google.com> | Thu Mar 29 11:30:01 2018 -0700 |
tree | c0037c071ece124b43917f33168f1e9911adff33 | |
parent | fc704e2fd7cdaf903a3ab1da7db21f80c6c261fe [diff] |
Move HIDL calls away from the main thread class_init is running under application main thread. A sequence of 10 back to back HIDL calls is a power up vulnerability, as watchdog may kick in if application main thread is taking too long. Bug: 63707763 Fixes: 63707763 Test: Tested on Taimen and verified GPS works. Change-Id: Ia8833e7bc5f2bd6186c1f74f84c5387640cc44df