Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b64d6704 authored by Chih-Wei Huang's avatar Chih-Wei Huang Committed by Arne Coucheron
Browse files

DisplayDevice: initialize mDisplayToken correctly

mDisplayToken should be initialized by displayToken.

Change-Id: I0a5fec1f1732200a32d10b1575239dceffe6dee4
parent 0309f009
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -80,6 +80,7 @@ DisplayDevice::DisplayDevice(
        EGLConfig config)
    : mFlinger(flinger),
      mType(type), mHwcDisplayId(-1),
      mDisplayToken(displayToken),
      mNativeWindow(nativeWindow),
      mFramebufferSurface(framebufferSurface),
      mDisplay(EGL_NO_DISPLAY),