Beispiel #1
0
 private void completeUberRequest() {
   mUberRequestHandled = true;
   if (mContainer != null) {
     mContainer.updateBuildProgress(100, mLastRouterType);
     mContainer.updateMenu();
   }
 }
Beispiel #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();
  }
Beispiel #3
0
 private void requestUberInfo() {
   mUberPlanning = true;
   Uber.nativeRequestUberProducts(
       mStartPoint.getLat(), mStartPoint.getLon(), mEndPoint.getLat(), mEndPoint.getLon());
   if (mContainer != null) mContainer.updateBuildProgress(0, mLastRouterType);
 }
Beispiel #4
0
  private void updateProgress() {
    if (isUberPlanning()) return;

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