diff options
author | Wei Wang <wvw@google.com> | 2017-11-29 12:28:00 -0800 |
---|---|---|
committer | Wei Wang <wvw@google.com> | 2017-11-30 12:27:29 -0800 |
commit | 5d77c7290c9eec8e4ec6300ce9fb783ee8d36a40 (patch) | |
tree | 28ab202f138e433bfad4c3fe86bc1dbf60c33348 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 3d1f3d501bb5923ccfd6f139f47a62b5901502f8 (diff) |
PowerManagerService: Do not hold lock for the duration of PowerHal call
Make getPowerHal return a local copy of sp<IPower> which
can be used to do PowerHAL calls without holding gPowerHal mutex.
Bug: 69475681
Test: Do powerhint with loop of adb shell "setprop ctl.restart POWERHAL_SERVICE"
Change-Id: I8d538de11a5b2347b554b64cc26aad2f3ce5d801
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions