diff options
author | Yin-Chia Yeh <yinchiayeh@google.com> | 2015-05-18 15:03:35 -0700 |
---|---|---|
committer | Yin-Chia Yeh <yinchiayeh@google.com> | 2015-05-19 11:56:18 -0700 |
commit | 216db7455a19a2f1a5b29e3a9610231365b6c778 (patch) | |
tree | 86b657d4b0767ab3949a8e144675a3762f44df27 /services/camera/libcameraservice/api1/Camera2Client.h | |
parent | e28159ba94a7fa6711c2f1e459413ccce9f065ab (diff) | |
download | frameworks_av-216db7455a19a2f1a5b29e3a9610231365b6c778.zip frameworks_av-216db7455a19a2f1a5b29e3a9610231365b6c778.tar.gz frameworks_av-216db7455a19a2f1a5b29e3a9610231365b6c778.tar.bz2 |
Camera: API1 shim: notify shutter correctly
Previous implementation only notifies the callback when we receive
full capture result. This implementation notifies the callback
once HAL sends capture start callback.
Bug: 12530628
Change-Id: Ibf71d532b5cf649514b316e35683c217021698b4
Diffstat (limited to 'services/camera/libcameraservice/api1/Camera2Client.h')
-rw-r--r-- | services/camera/libcameraservice/api1/Camera2Client.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/services/camera/libcameraservice/api1/Camera2Client.h b/services/camera/libcameraservice/api1/Camera2Client.h index a988037..3784aab 100644 --- a/services/camera/libcameraservice/api1/Camera2Client.h +++ b/services/camera/libcameraservice/api1/Camera2Client.h @@ -106,6 +106,8 @@ public: virtual void notifyAutoFocus(uint8_t newState, int triggerId); virtual void notifyAutoExposure(uint8_t newState, int triggerId); + virtual void notifyShutter(const CaptureResultExtras& resultExtras, + nsecs_t timestamp); /** * Interface used by independent components of Camera2Client. |