Skip to content
Browse files

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: Ic560bf2e19fe22812dacfca1a54148076cc98b13
  • Loading branch information...
1 parent 5c71355 commit 8793184d12b2279c449e18ab33d1aa8db1017a11 Vishrut Shah committed with Whitehawkx Jul 30, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 libs/ui/FramebufferNativeWindow.cpp
View
1 libs/ui/FramebufferNativeWindow.cpp
@@ -160,6 +160,7 @@ FramebufferNativeWindow::FramebufferNativeWindow()
ANativeWindow::queueBuffer = queueBuffer;
ANativeWindow::query = query;
ANativeWindow::perform = perform;
+ ANativeWindow::cancelBuffer = NULL;
}
FramebufferNativeWindow::~FramebufferNativeWindow()

0 comments on commit 8793184

Please sign in to comment.
Something went wrong with that request. Please try again.