  
  
  @dispatcher.add_method
  def primeActivated(activated):
    dongle_id = Params().get("DongleId", encoding='utf-8')
    api = Api(dongle_id)
    manage_tokens(api)
    return {"success": 1}
  
  
  def startLocalProxy(global_end_event, remote_ws_uri, local_port):
    try:
 
</s> remove def manage_tokens(api):
  if not TICI:
    return

  try:
    params = Params()
    mapbox = api.get(f"/v1/tokens/mapbox/{api.dongle_id}/", timeout=5.0, access_token=api.get_token())
    if mapbox.status_code == 200:
      params.put("MapboxToken", mapbox.json()["token"])
    else:
      params.delete("MapboxToken")
  except Exception:
    cloudlog.exception("Failed to update tokens")


 </s> add 
  
  
  @dispatcher.add_method
  def primeActivated(activated):



    return {"success": 1}
  
  
  def startLocalProxy(global_end_event, remote_ws_uri, local_port):
    try:
keep keep keep keep replace replace replace keep keep keep keep keep
 navigation: use mapbox proxy server (#22660)

* use mapbox proxy

* remove MapboxToken param

* do not log jwt

* remove import

* move to staging url

* put has_prime in ui state

* logic was flipped

* Update selfdrive/ui/qt/maps/map.h 
selfdrive/athena/athenad.py