Which case of the data object will be null? 

Thank you.



The example code below:


public boolean handleActivityResult(int requestCode, int resultCode, Intent 
data) {
    IabResult result;
    if (requestCode != mRequestCode) return false;

    checkNotDisposed();
    checkSetupDone("handleActivityResult");

    // end of async purchase operation that started on launchPurchaseFlow
    flagEndAsync();

    if (data == null) {
        logError("Null data in IAB activity result.");
        result = new IabResult(IABHELPER_BAD_RESPONSE, "Null data in IAB 
result");
        if (mPurchaseListener != null) 
mPurchaseListener.onIabPurchaseFinished(result, null);
        return true;
    }


   ...
}




-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/520ef599-b449-4833-8b1d-9448b8d8d061%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to