commit | 0fd28115e485cfe9202c1eec777a6cc17663651a | [log] [tgz] |
---|---|---|
author | Yin-Chia Yeh <yinchiayeh@google.com> | Wed Feb 28 13:08:49 2018 -0800 |
committer | Yin-Chia Yeh <yinchiayeh@google.com> | Wed Feb 28 13:22:16 2018 -0800 |
tree | 64b65433538b83204ab9355067dcea5d9c737fcf | |
parent | 6b1f6115a8bdc825344bfdd5becd1bfb3f16d0f1 [diff] |
Camera: notify AE trigger ID change So transient state change are not ignored. Bug: 72261912 Change-Id: Ic7fd278725586275595276682c445c2aa0727de6
diff --git a/services/camera/libcameraservice/api1/client2/FrameProcessor.cpp b/services/camera/libcameraservice/api1/client2/FrameProcessor.cpp index 6e21126..187bea9 100644 --- a/services/camera/libcameraservice/api1/client2/FrameProcessor.cpp +++ b/services/camera/libcameraservice/api1/client2/FrameProcessor.cpp
@@ -292,7 +292,8 @@ } // Once all 3A states are received, notify the client about 3A changes. - if (pendingState.aeState != m3aState.aeState) { + if (pendingState.aeState != m3aState.aeState || + pendingState.aeTriggerId > m3aState.aeTriggerId) { ALOGV("%s: Camera %d: AE state %d->%d", __FUNCTION__, cameraId, m3aState.aeState, pendingState.aeState);