summaryrefslogtreecommitdiff
path: root/libs/hwui/Program.cpp
diff options
context:
space:
mode:
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
commit5d77c7290c9eec8e4ec6300ce9fb783ee8d36a40 (patch)
tree28ab202f138e433bfad4c3fe86bc1dbf60c33348 /libs/hwui/Program.cpp
parent3d1f3d501bb5923ccfd6f139f47a62b5901502f8 (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 'libs/hwui/Program.cpp')
0 files changed, 0 insertions, 0 deletions