commit | 8d3ed21583a8d83047cee1735cf669e131809e73 | [log] [tgz] |
---|---|---|
author | Mitchell Wills <mwills@google.com> | Thu Aug 11 11:05:03 2016 -0700 |
committer | Mitchell Wills <mwills@google.com> | Thu Aug 11 13:54:48 2016 -0700 |
tree | c83c2488a903f9fedb04341fac96fd065ab66b2e | |
parent | 0d85bc88036241d4edac69cc95a745f40f44e08f [diff] |
Add Log.wtf when transitionTo is used improperly Using transitionTo in exit/enter (except in the terminal state) is documented as undefined behavior and may cause unexpected results. The current implementation appears to finish the current transition and then transition to the new target state. TEST=flash and play with the phone, no sign of immediate WTFs Change-Id: I38a34b85c43d53c51514339587fc1269a069a454