From 27e2562868dcd3ad26f9b4677b64ae272941704e Mon Sep 17 00:00:00 2001 From: Chih-Wei Huang Date: Mon, 7 Jan 2013 17:33:56 +0800 Subject: DisplayDevice: initialize mDisplayToken correctly mDisplayToken should be initialized by displayToken. Change-Id: I0a5fec1f1732200a32d10b1575239dceffe6dee4 --- services/surfaceflinger/DisplayDevice.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'services') diff --git a/services/surfaceflinger/DisplayDevice.cpp b/services/surfaceflinger/DisplayDevice.cpp index ce98b67..69b9c34 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), -- cgit v1.1