summaryrefslogtreecommitdiffstats
path: root/libs/gui
diff options
context:
space:
mode:
authorNaveen Leekha <leekha@google.com>2015-09-24 23:35:41 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-09-24 23:35:41 +0000
commitb0127aadafbf3b314475e48772fdcc17939c5a9c (patch)
tree9995a90a882eb46b387ee1b6c46eb82c6209f1f2 /libs/gui
parent83e60e42573ebc1bb06a408170bcdac2824e8dd6 (diff)
parent69412a51f58fa9450f1cb077c8d4b6410128d993 (diff)
downloadframeworks_native-b0127aadafbf3b314475e48772fdcc17939c5a9c.zip
frameworks_native-b0127aadafbf3b314475e48772fdcc17939c5a9c.tar.gz
frameworks_native-b0127aadafbf3b314475e48772fdcc17939c5a9c.tar.bz2
am 69412a51: am c4bd7211: resolved conflicts for 7534e4e6 to lmp-mr1-ub-dev
* commit '69412a51f58fa9450f1cb077c8d4b6410128d993': resolved conflicts for 7534e4e6 to lmp-mr1-ub-dev
Diffstat (limited to 'libs/gui')
-rw-r--r--libs/gui/IGraphicBufferProducer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/gui/IGraphicBufferProducer.cpp b/libs/gui/IGraphicBufferProducer.cpp
index 2118c92..8bdbc22 100644
--- a/libs/gui/IGraphicBufferProducer.cpp
+++ b/libs/gui/IGraphicBufferProducer.cpp
@@ -348,7 +348,7 @@ status_t BnGraphicBufferProducer::onTransact(
uint32_t height = data.readUint32();
PixelFormat format = static_cast<PixelFormat>(data.readInt32());
uint32_t usage = data.readUint32();
- int buf;
+ int buf = 0;
sp<Fence> fence;
int result = dequeueBuffer(&buf, &fence, async, width, height,
format, usage);
@@ -416,7 +416,7 @@ status_t BnGraphicBufferProducer::onTransact(
}
case QUERY: {
CHECK_INTERFACE(IGraphicBufferProducer, data, reply);
- int value;
+ int value = 0;
int what = data.readInt32();
int res = query(what, &value);
reply->writeInt32(value);