summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishrut Shah <vishruts@codeaurora.org>2013-01-07 12:06:19 -0700
committerSteve Kondik <shade@chemlab.org>2013-01-20 19:06:20 -0800
commit5d0e1286329f39347d8a3de0610522444c9cf93c (patch)
tree84cbe1da8aef2ee45fda440719ba177e207c2ef1
parent588f173adfcbf9e5fa52336899aea63d2163feec (diff)
downloadframeworks_native-5d0e1286329f39347d8a3de0610522444c9cf93c.zip
frameworks_native-5d0e1286329f39347d8a3de0610522444c9cf93c.tar.gz
frameworks_native-5d0e1286329f39347d8a3de0610522444c9cf93c.tar.bz2
JB_MR1: native/libs/ui: Adding fix for conf 2.0 seg faults
function call to cancelBuffer was resulted in seg-faults on conf 2.0. Setting function pointer of cancelBuffer to null in order to select correct path of execution. CRs-fixed: 383715 Change-Id: I6de8355febaea86ded63f33a582c787fef862193
-rw-r--r--libs/ui/FramebufferNativeWindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ui/FramebufferNativeWindow.cpp b/libs/ui/FramebufferNativeWindow.cpp
index 12c77b8..7ff6618 100644
--- a/libs/ui/FramebufferNativeWindow.cpp
+++ b/libs/ui/FramebufferNativeWindow.cpp
@@ -159,6 +159,7 @@ FramebufferNativeWindow::FramebufferNativeWindow()
ANativeWindow::queueBuffer = queueBuffer;
ANativeWindow::query = query;
ANativeWindow::perform = perform;
+ ANativeWindow::cancelBuffer = NULL;
ANativeWindow::dequeueBuffer_DEPRECATED = dequeueBuffer_DEPRECATED;
ANativeWindow::lockBuffer_DEPRECATED = lockBuffer_DEPRECATED;