setDayNightMode

Sets the user's day/night mode choice for the Android Auto map.

When the change alters isMapDark, a car map on screen is restyled by the SurfaceCallback's observation, on the main thread. A car map built later opens with the new choice in any case.

Parameters

mode

The day/night mode the user chose