diff options
| author | 2015-02-19 14:31:45 -0800 | |
|---|---|---|
| committer | 2015-02-19 14:31:45 -0800 | |
| commit | 28d41f5640cab96b5cac4b4b233ae9f721c96975 (patch) | |
| tree | 3a599fee60b6b17b0310689b1b09cd8052de7e93 /libs/gui/ConsumerBase.cpp | |
| parent | 5fa8f9305e8db81fa0007a016318846f1dfef4b9 (diff) | |
| parent | 26cc3d0b67ff4daf31eaeed0ecd87b391978aadb (diff) | |
Merge commit '26cc3d0b67ff4daf31eaeed0ecd87b391978aadb' into HEAD
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
| -rw-r--r-- | libs/gui/ConsumerBase.cpp | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/libs/gui/ConsumerBase.cpp b/libs/gui/ConsumerBase.cpp index 580e0e798d..95f550702c 100644 --- a/libs/gui/ConsumerBase.cpp +++ b/libs/gui/ConsumerBase.cpp @@ -40,9 +40,9 @@  // Macros for including the ConsumerBase name in log messages  #define CB_LOGV(x, ...) ALOGV("[%s] " x, mName.string(), ##__VA_ARGS__) -//#define CB_LOGD(x, ...) ALOGD("[%s] " x, mName.string(), ##__VA_ARGS__) -//#define CB_LOGI(x, ...) ALOGI("[%s] " x, mName.string(), ##__VA_ARGS__) -//#define CB_LOGW(x, ...) ALOGW("[%s] " x, mName.string(), ##__VA_ARGS__) +#define CB_LOGD(x, ...) ALOGD("[%s] " x, mName.string(), ##__VA_ARGS__) +#define CB_LOGI(x, ...) ALOGI("[%s] " x, mName.string(), ##__VA_ARGS__) +#define CB_LOGW(x, ...) ALOGW("[%s] " x, mName.string(), ##__VA_ARGS__)  #define CB_LOGE(x, ...) ALOGE("[%s] " x, mName.string(), ##__VA_ARGS__)  namespace android { @@ -98,7 +98,7 @@ void ConsumerBase::freeBufferLocked(int slotIndex) {      mSlots[slotIndex].mFrameNumber = 0;  } -void ConsumerBase::onFrameAvailable() { +void ConsumerBase::onFrameAvailable(const BufferItem& item) {      CB_LOGV("onFrameAvailable");      sp<FrameAvailableListener> listener; @@ -109,7 +109,7 @@ void ConsumerBase::onFrameAvailable() {      if (listener != NULL) {          CB_LOGV("actually calling onFrameAvailable"); -        listener->onFrameAvailable(); +        listener->onFrameAvailable(item);      }  } |