Ejemplo n.º 1
0
 private void completeUberRequest() {
   mUberRequestHandled = true;
   if (mContainer != null) {
     mContainer.updateBuildProgress(100, mLastRouterType);
     mContainer.updateMenu();
   }
 }
Ejemplo n.º 2
0
  @MainThread
  public void restore() {
    mHasContainerSavedState = false;
    if (isPlanning()) showRoutePlan();

    if (mContainer != null) {
      if (isUberPlanning()) mContainer.updateBuildProgress(0, mLastRouterType);

      mContainer.showNavigation(isNavigating());
      mContainer.updateMenu();
      mContainer.updatePoints();
    }
    processRoutingEvent();
  }
Ejemplo n.º 3
0
 private void requestUberInfo() {
   mUberPlanning = true;
   Uber.nativeRequestUberProducts(
       mStartPoint.getLat(), mStartPoint.getLon(), mEndPoint.getLat(), mEndPoint.getLon());
   if (mContainer != null) mContainer.updateBuildProgress(0, mLastRouterType);
 }
Ejemplo n.º 4
0
  private void updateProgress() {
    if (isUberPlanning()) return;

    if (mContainer != null) mContainer.updateBuildProgress(mLastBuildProgress, mLastRouterType);
  }