commit | 346312c1f588fe582561049999fa60d69e86ae64 | [log] [tgz] |
---|---|---|
author | Greg Kaiser <gkaiser@google.com> | Thu Sep 09 09:37:48 2021 -0700 |
committer | Pablo Gamito <pablogamito@google.com> | Fri Sep 10 13:56:32 2021 +0000 |
tree | c142b22f09d5bc40193af49155e0c79fd95a1694 | |
parent | c813fed67b8480bf157c0b495dcba0462304602f [diff] |
Make sure fields are initialized before access We initialize mSurfaceControlId and mAttachedFrameNumber in the constructor to assure they'll always give consistent values when read. Test: TreeHugger Bug: 195699687 Change-Id: I471b402e4654a0c02082109d8828ad6b59085f13