commit | cb9732a951d20cacb7ebe2dab132b5738226b1b6 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Tue Apr 03 17:48:03 2012 -0700 |
committer | Mathias Agopian <mathias@google.com> | Tue Apr 03 18:28:25 2012 -0700 |
tree | 44884eddad68005e2cf40b978f01ec9ec2c21398 | |
parent | 9b71221171774cc37b35bfd861cb4082d7f021ab [diff] [blame] |
refactor / simplify EventThread Change-Id: I3981c6fba93b7b985174b2a7045e24db2c0b4428
diff --git a/services/surfaceflinger/SurfaceFlinger.h b/services/surfaceflinger/SurfaceFlinger.h index b507877..6fa81db 100644 --- a/services/surfaceflinger/SurfaceFlinger.h +++ b/services/surfaceflinger/SurfaceFlinger.h
@@ -270,8 +270,9 @@ }; struct State { - State() { - orientation = ISurfaceComposer::eOrientationDefault; + State() + : orientation(ISurfaceComposer::eOrientationDefault), + orientationFlags(0) { } LayerVector layersSortedByZ; uint8_t orientation;