去除volley 中TAG的滥用导致无法重复加载同一url,项目整理
This commit is contained in:
@ -1,10 +1,12 @@
|
||||
package com.gh.gamecenter;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
import android.text.TextUtils;
|
||||
|
||||
import com.gh.base.BaseActivity;
|
||||
import com.gh.common.util.PlatformUtils;
|
||||
import com.gh.common.util.RunningUtils;
|
||||
|
||||
/**
|
||||
@ -59,7 +61,11 @@ public class SkipActivity extends BaseActivity {
|
||||
intent.putExtra("id", id);
|
||||
intent.putExtra("name", getIntent().getData().getQueryParameter("name"));
|
||||
} else if ("suggestion".equals(host)) {
|
||||
intent.putExtra("content", getIntent().getData().getQueryParameter("content"));
|
||||
Uri uri = getIntent().getData();
|
||||
String content = "【" + uri.getQueryParameter("game_name")
|
||||
+ "-" + PlatformUtils.getInstance(this).getPlatformName(uri.getQueryParameter("platform"))
|
||||
+ "-V" + uri.getQueryParameter("version") + "】";
|
||||
intent.putExtra("content", content);
|
||||
intent.putExtra("to", "SuggestionActivity");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user