commit | 03c4ce23715ccf0dae1ce18a722f4bcc99b90860 | [log] [tgz] |
---|---|---|
author | Yu(Swim) Chih Ren <ychihren@google.com> | Thu Jul 29 03:11:07 2021 +0000 |
committer | Vince Chiu <vincechiu@google.com> | Sat Jul 31 00:10:22 2021 +0000 |
tree | 2d25e3531cb46af58da650702e39800b001cf709 | |
parent | d1fef7a78fd467670342b87f69f039a8a98f7c0c [diff] |
Resolve wait timeout in ResultDispatcher::NotifyCallbackThreadLoop ResultDispatcher::NotifyCallbackThreadLoop wait event after event is notified and then cause wait timeout. Patch code to check notified flag before wait. Bug: 192460320 Bug: 192536631 Test: 1. Test basic photo shot and front/rear camera switch function correctly. And check there is not long idle time in CLOSE stage 2. P21 Camera Test Checklist & CTS test pass Change-Id: Ib503bfec73a85df35368fd997a5cc835cd99c583