diff --git a/lib_social/src/main/java/com/android/sdk/social/qq/QQManager.java b/lib_social/src/main/java/com/android/sdk/social/qq/QQManager.java index aab536c..11340c7 100644 --- a/lib_social/src/main/java/com/android/sdk/social/qq/QQManager.java +++ b/lib_social/src/main/java/com/android/sdk/social/qq/QQManager.java @@ -2,6 +2,7 @@ package com.android.sdk.social.qq; import android.app.Activity; import android.content.Context; +import android.content.Intent; import android.support.annotation.Nullable; import com.android.sdk.social.common.Utils; @@ -43,6 +44,10 @@ public class QQManager { return mTencent.isQQInstalled(context); } + public boolean onActivityResult(int requestCode, int resultCode, Intent intent, ShareResultCallback shareResultCallback) { + return Tencent.onActivityResultData(requestCode, resultCode, intent, newDefaultListener(shareResultCallback)); + } + private static IUiListener newDefaultListener(ShareResultCallback shareResultCallback) { if (shareResultCallback == null) { return null;