commit | 43b4bb291800401b67daf50156f8d04c64569c21 | [log] [tgz] |
---|---|---|
author | Roshan Pius <rpius@google.com> | Mon May 07 21:56:00 2018 -0700 |
committer | Roshan Pius <rpius@google.com> | Mon May 07 22:04:07 2018 -0700 |
tree | 3db7bfcb3c4477ca8ce1c97c46d0fd032f3d93c8 | |
parent | 1b60f40a00afc38da4587ae275702d758bf66332 [diff] |
WifiStateMachinePrime: Reorder variable initialization order ModeStateMachine runs on a separate thread from where the constructor of WifiStateMachinePrime is being invoked. Ensure that the mode state machine is kiced-off after all the variables are initialized to prevent any race. Bug: 79381270 Test: Unit tests Test: Wifi toggle works. Change-Id: I8ab0db32bcba75f67347ac9fdac32e8e914bc097