onNewIntent

open override fun onNewIntent(intent: Intent)

Re-reads the car's day/night mode when the host re-opens this session.

The host can call onAppCreate again on a session that is still alive. The Car App Library then applies the host's current configuration to the CarContext and delivers only the intent, through this method: no onCreate, no onStart when the session is already started, and no onCarConfigurationChanged.

Subclasses overriding this method must call super.onNewIntent(intent).

Parameters

intent

The intent the session was re-opened with