commit | e7990d26383e769f84d5fc1526055e494b433366 | [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 | 950f608dada022bf5ec92915b7acdb9cc82d3332 | |
parent | caf3f0d1eb081d3f88bfe6847e35eb2374355c41 [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