androidx
Zhanty 5 years ago
parent be988b7028
commit 646a876003
  1. 6
      lib_social/src/main/java/com/android/sdk/social/qq/QQManager.java

@ -23,8 +23,6 @@ public class QQManager {
private static String sAppId; private static String sAppId;
private static IUiListener sIUiListener;
public static void initQQSDK(String appId) { public static void initQQSDK(String appId) {
sAppId = appId; sAppId = appId;
} }
@ -47,14 +45,14 @@ public class QQManager {
} }
public static boolean onActivityResult(int requestCode, int resultCode, Intent intent) { public static boolean onActivityResult(int requestCode, int resultCode, Intent intent) {
return Tencent.onActivityResultData(requestCode, resultCode, intent, sIUiListener); return Tencent.onActivityResultData(requestCode, resultCode, intent, null);
} }
private static IUiListener newDefaultListener(ShareResultCallback shareResultCallback) { private static IUiListener newDefaultListener(ShareResultCallback shareResultCallback) {
if (shareResultCallback == null) { if (shareResultCallback == null) {
return null; return null;
} }
return sIUiListener = new IUiListener() { return new IUiListener() {
@Override @Override
public void onComplete(Object o) { public void onComplete(Object o) {
Timber.d("shareToQQ onComplete: " + o); Timber.d("shareToQQ onComplete: " + o);

Loading…
Cancel
Save