From 27e2562868dcd3ad26f9b4677b64ae272941704e Mon Sep 17 00:00:00 2001 From: Chih-Wei Huang Date: Mon, 7 Jan 2013 17:33:56 +0800 Subject: [PATCH] DisplayDevice: initialize mDisplayToken correctly mDisplayToken should be initialized by displayToken. Change-Id: I0a5fec1f1732200a32d10b1575239dceffe6dee4 --- services/surfaceflinger/DisplayDevice.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/services/surfaceflinger/DisplayDevice.cpp b/services/surfaceflinger/DisplayDevice.cpp index ce98b6769..69b9c343c 100644 --- a/services/surfaceflinger/DisplayDevice.cpp +++ b/services/surfaceflinger/DisplayDevice.cpp @@ -77,6 +77,7 @@ DisplayDevice::DisplayDevice( EGLConfig config) : mFlinger(flinger), mType(type), mHwcDisplayId(-1), + mDisplayToken(displayToken), mNativeWindow(nativeWindow), mFramebufferSurface(framebufferSurface), mDisplay(EGL_NO_DISPLAY),