From 45b6df108eaf448035b3319ffeaa89b7ba20eb8f Mon Sep 17 00:00:00 2001 From: Zhanty Date: Mon, 9 Sep 2019 14:37:10 +0800 Subject: [PATCH] update QQ --- .../src/main/java/com/android/sdk/social/qq/QQManager.java | 4 ++++ 1 file changed, 4 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 3b53a52..aab536c 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 @@ -39,6 +39,10 @@ public class QQManager { mTencent.shareToQQ(activity, shareInfo.getBundle(), newDefaultListener(shareResultCallback)); } + public boolean isQQInstalled(Context context) { + return mTencent.isQQInstalled(context); + } + private static IUiListener newDefaultListener(ShareResultCallback shareResultCallback) { if (shareResultCallback == null) { return null;