From 08b7b34599cfe78a27182857fd9e7af62d16030b Mon Sep 17 00:00:00 2001 From: Zhanty Date: Mon, 9 Sep 2019 15:00:46 +0800 Subject: [PATCH] update qq --- .../src/main/java/com/android/sdk/social/qq/QQManager.java | 5 +++++ 1 file changed, 5 insertions(+) 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;