commit | 07e317c3cd9fe38954813b75ac582dd64f0c41f1 | [log] [tgz] |
---|---|---|
author | Mitchell Wills <mwills@google.com> | Thu Aug 11 11:05:03 2016 -0700 |
committer | Mitchell Wills <mwills@google.com> | Mon Aug 29 11:26:53 2016 -0700 |
tree | 2fa854ae3f9190c8464ebbc65e7a994290251c9f | |
parent | 18af49395c18ce58f76cb137ec6981bd615d5719 [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 (cherry picked from commit 8d3ed21583a8d83047cee1735cf669e131809e73)