diff options
author | 2009-05-07 17:47:54 -0700 | |
---|---|---|
committer | 2009-05-07 17:47:54 -0700 | |
commit | 538bcd702c0053772245dfbb634c266959cf6af9 (patch) | |
tree | 03c691c53c943844bb1c6b0b76c45eca26ce5160 /libs/ui/Camera.cpp | |
parent | 881c4c25f1f807952a6740ecad1680a8241b4de4 (diff) | |
parent | 2a04aefdf03abbdabb035f89c8a1df636c168de0 (diff) |
Merge change 1164 into donut
* changes:
Add new binder methods to camera client to support generic callbacks This is the first step in a multi-step change to move from the old specific callbacks to a generic callback. This will allow future flexibility in the interface without requiring binder rewrites. Bug 1837832
Diffstat (limited to 'libs/ui/Camera.cpp')
-rw-r--r-- | libs/ui/Camera.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libs/ui/Camera.cpp b/libs/ui/Camera.cpp index 41577c45574a..ed4f3b82d830 100644 --- a/libs/ui/Camera.cpp +++ b/libs/ui/Camera.cpp @@ -397,6 +397,18 @@ void Camera::errorCallback(status_t error) } } +// callback from camera service +void Camera::notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) +{ + LOGV("notifyCallback"); +} + +// callback from camera service when image is ready +void Camera::dataCallback(int32_t msgType, const sp<IMemory>& frame) +{ + LOGV("dataCallback"); +} + void Camera::binderDied(const wp<IBinder>& who) { LOGW("ICamera died"); if (mErrorCallback) { |