diff options
author | Yu-Han Yang <yuhany@google.com> | 2018-03-15 11:53:01 -0700 |
---|---|---|
committer | Yu-Han Yang <yuhany@google.com> | 2018-03-29 11:30:01 -0700 |
commit | 6d31735c8a448460ae7c676781f25bbfe44d6263 (patch) | |
tree | c0037c071ece124b43917f33168f1e9911adff33 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions