summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2012-09-20 19:27:07 -0700
committerMathias Agopian <mathias@google.com>2012-09-20 19:27:07 -0700
commit38e623bc5c2d7224ebd5b82efaea401bc8e5367a (patch)
treee0ad56e4b895e7dc931379a90934a43142dc0338 /services
parentf5a33928349bebc8eebc9f466618997e98c24e68 (diff)
downloadframeworks_native-38e623bc5c2d7224ebd5b82efaea401bc8e5367a.zip
frameworks_native-38e623bc5c2d7224ebd5b82efaea401bc8e5367a.tar.gz
frameworks_native-38e623bc5c2d7224ebd5b82efaea401bc8e5367a.tar.bz2
fix a typo preventing pre hwc-1.1 devices from booting
Change-Id: Icf01254689633d04967872749ac947a671e47ed8
Diffstat (limited to 'services')
-rw-r--r--services/surfaceflinger/DisplayHardware/HWComposer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/surfaceflinger/DisplayHardware/HWComposer.cpp b/services/surfaceflinger/DisplayHardware/HWComposer.cpp
index 6509a12..a0c39a9 100644
--- a/services/surfaceflinger/DisplayHardware/HWComposer.cpp
+++ b/services/surfaceflinger/DisplayHardware/HWComposer.cpp
@@ -172,6 +172,7 @@ HWComposer::HWComposer(
"should only have fbdev if no hwc or hwc is 1.0");
DisplayData& disp(mDisplayData[HWC_DISPLAY_PRIMARY]);
+ disp.connected = true;
disp.width = mFbDev->width;
disp.height = mFbDev->height;
disp.format = mFbDev->format;