summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/20/changes
diff options
context:
space:
mode:
authorConnor O'Brien <connoro@google.com>2017-02-27 16:41:35 -0800
committerConnor O'Brien <connoro@google.com>2017-03-29 11:54:25 -0700
commit578eb7fee3a28ff9ca309e741b5a647637896ba1 (patch)
tree99913c7de0b3f6a2320ae5b2574279ff0d8571d1 /docs/html/sdk/api_diff/20/changes
parent84d7e77aceb2979270823e2eac2eebf2e22a786e (diff)
Recover cleanly from power HAL service crashes
Currently if the binderized power HAL service crashes, services that call the HAL will crash as well. To fix this: - Before calling power HAL functions, check that the handle to the power HAL service is still valid, and reload using getService() if necessary. - When a call to a power HAL function fails, log the failure and mark the handle as invalid. Bug: 35728909 Test: adb shell kill -9 $(adb shell pidof android.hardware.power@1.0-service) Change-Id: Id2dd1a6507b9f5044d928483cdb6b736c701f8ba Signed-off-by: Connor O'Brien <connoro@google.com>
Diffstat (limited to 'docs/html/sdk/api_diff/20/changes')
0 files changed, 0 insertions, 0 deletions