diff options
| author | Wink Saville <wink@google.com> | 2012-03-26 15:03:16 -0700 | 
|---|---|---|
| committer | Wink Saville <wink@google.com> | 2012-03-26 15:03:16 -0700 | 
| commit | cea056f5894543819898a0e62f98dc7870b27758 (patch) | |
| tree | af283944fe4237ca19253af7170c6b9771886644 /docs/html/sdk/api_diff/16/changes | |
| parent | 4355b001cb736d4aa312231ce129506a3c7f6808 (diff) | |
Add SM_INIT_CMD.
The enter methods of the initial states are now executed
in response to a message and therefore run in the handler
associated with the StateMachine. Previously these would
run in the thread that start() was called from.
I ran into a problem where in an Activities onCreate I called
StateMachine#start(), which called the default states enter,
which invoked Context#bindService. But bindService never
completed because onCreate hadn't returned. But invoking the
enter methods on the StateMachines handler this problem does
not occur.
Change-Id: I2c2e52e5de29a987c098196a0efdba446cbc29d0
Diffstat (limited to 'docs/html/sdk/api_diff/16/changes')
0 files changed, 0 insertions, 0 deletions
