core-android/src/main/java/com/uber/sdk/android/core/auth/LoginManager.java
public void onActivityResult(
            @NonNull Activity activity,
            int requestCode,
            int resultCode,
            @Nullable Intent data) {
        if (requestCode != this.requestCode) {
            return;
        }

        if (resultCode == Activity.RESULT_OK) {
            handleResultOk(data);
        } else if (resultCode == Activity.RESULT_CANCELED) {
            handleResultCancelled(activity, data);
        }
    }
/**
     * {@link Activity} result handler to be called from starting {@link Activity}. Stores {@link AccessToken} and
     * notifies consumer callback of login result.
     *
     * @param activity    Activity used to start login if Uber app is unavailable.
     * @param requestCode request code originally supplied to {@link Activity#startActivityForResult(Intent, int)}.
     * @param resultCode  result code from returning {@link Activity}.
     * @param data        data from returning {@link Activity}.
     */
Activity result handler to be called from starting  Activity. Stores  AccessToken and
notifies consumer callback of login result.

@param activity    Activity used to start login if Uber app is unavailable.
@param requestCode request code originally supplied to  Activity#startActivityForResult(Intent, int).
@param resultCode  result code from returning  Activity.
@param data        data from returning  Activity.
Activity result handler to be called from starting Activity . Stores AccessToken and notifies consumer callback of login result . @param activity Activity used to start login if Uber app is unavailable . @param requestCode request code originally supplied to Activity#startActivityForResult ( Intent int ) . @param resultCode result code from returning Activity . @param data data from returning Activity .
public void onActivityResult(
            @NonNull Activity activity,
            int requestCode,
            int resultCode,
            @Nullable Intent data) {
        if (requestCode != this.requestCode) {
            return;
        }
        if (resultCode == Activity.RESULT_OK) {
            handleResultOk(data);
        } else if (resultCode == Activity.RESULT_CANCELED) {
            handleResultCancelled(activity, data);
        }
    }
public void onActivityResult ( @ NonNull Activity activity , int requestCode , int resultCode , @ Nullable Intent data ) { if ( requestCode != this . requestCode ) { return ; } if ( resultCode == Activity . RESULT_OK ) { handleResultOk ( data ) ; } else if ( resultCode == Activity . RESULT_CANCELED ) { handleResultCancelled ( activity , data ) ; } }
{@link Activity} result handler to be called from starting {@link Activity}.
{ @link Activity } result handler to be called from starting { @link Activity } .