MAX_DISPLAYED_ROUTES
Maximum number of routes to display on the Android Auto route preview screen.
The AA route list has limited vertical space and no reliable scroll control. Limiting to 2 routes (1 primary + 1 alternative) ensures all options are visible without requiring scrolling, which avoids scroll-reset issues caused by Screen.invalidate on the AA host.
This constant is used to truncate route lists at the display layer:
RouteDisplayState is populated with at most this many routes
The phone AA route preview screen also limits display to this count
Route computation itself is unaffected — the routing engine may still compute more alternatives, but only the first MAX_DISPLAYED_ROUTES are shown on Android Auto and its associated phone screen.