androidx
Zhanty 5 years ago
parent 45b6df108e
commit 08b7b34599
  1. 5
      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.app.Activity;
import android.content.Context; import android.content.Context;
import android.content.Intent;
import android.support.annotation.Nullable; import android.support.annotation.Nullable;
import com.android.sdk.social.common.Utils; import com.android.sdk.social.common.Utils;
@ -43,6 +44,10 @@ public class QQManager {
return mTencent.isQQInstalled(context); 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) { private static IUiListener newDefaultListener(ShareResultCallback shareResultCallback) {
if (shareResultCallback == null) { if (shareResultCallback == null) {
return null; return null;

Loading…
Cancel
Save