onSessionCreated

Applies the phone-state carry-over rule when a car session is created. The rule is described in onSessionDestroyed.

It covers what the end of the previous session could not see:

  • a PhoneAppState.CLOSING reported while no session existed, which would finish the new session as soon as the session observes phoneState;

  • the state of a phone app whose callback has been unregistered since, which no longer applies.

Called by MSDKSession when the session is created, before setAAConnected and before the session starts observing phoneState. A host whose Session does not extend MSDKSession calls it at the same point.