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