onSessionDestroyed
Applies the phone-state carry-over rule when a car session is destroyed.
The rule. phoneState is kept for the next session while the phone app runs, that is while a phoneAppCallback is registered. The next session starts from it: a phone app that is READY gets its car map back at once, without reporting READY again. Otherwise it would have to report it from PhoneAppCallback.onAAConnected, because the session launches the phone app (which then reports its state) only when no callback is registered.
phoneState is reset to PhoneAppState.UNKNOWN instead:
when no phoneAppCallback is registered: the phone app is not running, and it reports its state afresh once the next session has launched it;
when it is PhoneAppState.CLOSING: it concerns the session it was reported in. Replayed into the next session, it would finish that session as soon as it starts.
Called by MSDKSession when the session is destroyed, after setAAConnected with false. A host whose Session does not extend MSDKSession calls it at the same point.