commit | ec96060c3b4b4d793c6599204ae4f639d065a57d | [log] [tgz] |
---|---|---|
author | Eino-Ville Talvala <etalvala@google.com> | Tue Oct 15 11:46:16 2019 -0700 |
committer | Eino-Ville Talvala <etalvala@google.com> | Tue Oct 15 11:46:16 2019 -0700 |
tree | d135ada8cd3bd4267f6e2679983b8a12284f2211 | |
parent | 4bebef8d593f62a5ee80cab04167f4a3ba3722d8 [diff] |
CameraService: Don't block on camera HAL start in all cases When initially starting up, use tryGetService instead of getService to avoid blocking camera service start in cases where the camera HAL is stuck. Test: atest cameraservice_test && atest CameraManagerTest, with and without lazy camera HAL Change-Id: I2ad5c542e77e748902cfb49f90a55620b29ad4cd