Introduce CMD_ON_NETWORK_NEEDED and CMD_ON_NETWORK_UNNEEDED messages
While the parent state (NetworkOfferExtendedState) registers (and
unregisters) the offer, its child states handle the resulting needed /
unneeded messages. Since SyncStateMachine logs WTF if a message is
processed that is not handled by the current state (or any of its
parents), this provides some protection against receiving unexpectected
needed / unneeded messages.
Test: mm
Change-Id: I5d322c9d3b9cea911e1435ef118a3fb03f7d537a
1 file changed