commit | 28515ec9dc169e1ebbcc9eafdd4e8041c96ac36c | [log] [tgz] |
---|---|---|
author | Shuzhen Wang <shuzhenwang@google.com> | Wed Oct 11 16:59:37 2017 -0700 |
committer | Shuzhen Wang <shuzhenwang@google.com> | Wed Oct 11 23:48:05 2017 -0700 |
tree | 39cf0115710d8568740fdc203d78584cdab44f16 | |
parent | 8e5cf4052372295827c130816c2850819bd44945 [diff] |
QCamera2: stack: Increase camera open retry count If camera daemon crashes, it could take up to 10 seconds for it to restarts. This time seems to increase in latest OS upgrade. Increasing the retry count makes it less likely to fail get_camera_info. Test: Hardcode hasPendingBuffers in HAL destructor to force restart Bug: 67576800 Change-Id: Ifd697e7fed4944a255e1efea3b96c75345b253c1