|
@@ -15,6 +15,7 @@ import com.sheep.gamegroup.greendao.download.SdkLoginUser;
|
|
|
import com.sheep.gamegroup.model.entity.UserEntity;
|
|
import com.sheep.gamegroup.model.entity.UserEntity;
|
|
|
import com.sheep.gamegroup.util.CommonUtil;
|
|
import com.sheep.gamegroup.util.CommonUtil;
|
|
|
import com.sheep.gamegroup.util.DataUtil;
|
|
import com.sheep.gamegroup.util.DataUtil;
|
|
|
|
|
+import com.sheep.gamegroup.util.LogUtil;
|
|
|
import com.sheep.jiuyan.samllsheep.R;
|
|
import com.sheep.jiuyan.samllsheep.R;
|
|
|
import com.sheep.jiuyan.samllsheep.utils.SpUtils;
|
|
import com.sheep.jiuyan.samllsheep.utils.SpUtils;
|
|
|
import com.sheep.jiuyan.samllsheep.utils.TitleBarUtils;
|
|
import com.sheep.jiuyan.samllsheep.utils.TitleBarUtils;
|
|
@@ -39,7 +40,7 @@ public class AccountConsistenceAct extends BaseActivity {
|
|
|
|
|
|
|
|
private int sdkAction;
|
|
private int sdkAction;
|
|
|
|
|
|
|
|
- private String gameCode, sheepCode, resultToken;
|
|
|
|
|
|
|
+ private String gameCode, sheepCode, resultToken, extra;
|
|
|
private UserEntity user;
|
|
private UserEntity user;
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
@@ -54,6 +55,7 @@ public class AccountConsistenceAct extends BaseActivity {
|
|
|
sdkAction = getIntent().getIntExtra("sdk_action", 0);
|
|
sdkAction = getIntent().getIntExtra("sdk_action", 0);
|
|
|
TitleBarUtils.getInstance().setShowOrHide(this, false);
|
|
TitleBarUtils.getInstance().setShowOrHide(this, false);
|
|
|
String game_token = getIntent().getStringExtra("game_token");
|
|
String game_token = getIntent().getStringExtra("game_token");
|
|
|
|
|
+ extra = getIntent().getStringExtra("extra");
|
|
|
if (TextUtils.isEmpty(game_token)) {
|
|
if (TextUtils.isEmpty(game_token)) {
|
|
|
finishWithResult(-1, null);
|
|
finishWithResult(-1, null);
|
|
|
return;
|
|
return;
|
|
@@ -133,6 +135,7 @@ public class AccountConsistenceAct extends BaseActivity {
|
|
|
Intent intent = new Intent();
|
|
Intent intent = new Intent();
|
|
|
intent.putExtra("code", resultCode);
|
|
intent.putExtra("code", resultCode);
|
|
|
intent.putExtra("action", sdkAction);
|
|
intent.putExtra("action", sdkAction);
|
|
|
|
|
+ intent.putExtra("extra", extra);
|
|
|
if (TextUtils.isEmpty(token)) {
|
|
if (TextUtils.isEmpty(token)) {
|
|
|
intent.putExtra("token", token);
|
|
intent.putExtra("token", token);
|
|
|
}
|
|
}
|