Skip to content
Snippets Groups Projects
Commit 346312c1 authored by Greg Kaiser's avatar Greg Kaiser Committed by Pablo Gamito
Browse files

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
parent c813fed6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment