entrance检查与统一
This commit is contained in:
@ -328,7 +328,7 @@ public class DownloadItemUtils {
|
||||
download_percentage, downloadBtn, entity, true);
|
||||
}
|
||||
|
||||
public static void setNormalOnClickListener(final Context context,
|
||||
private static void setNormalOnClickListener(final Context context,
|
||||
final TextView downloadBtn,
|
||||
final GameEntity gameEntity,
|
||||
final int position,
|
||||
@ -370,6 +370,7 @@ public class DownloadItemUtils {
|
||||
} else if ("下载中".equals(str)) {
|
||||
Intent intent = new Intent(context, DownloadManagerActivity.class);
|
||||
intent.putExtra("url", gameEntity.getApk().get(0).getUrl());
|
||||
intent.putExtra("entrance", entrance + "+(" + location.split(":")[0] + ")");
|
||||
context.startActivity(intent);
|
||||
} else if ("更新".equals(str)) {
|
||||
if (NetworkUtils.isWifiConnected(context)) {
|
||||
@ -387,7 +388,7 @@ public class DownloadItemUtils {
|
||||
});
|
||||
}
|
||||
|
||||
public static void setPluginOnClickListener(final Context context,
|
||||
private static void setPluginOnClickListener(final Context context,
|
||||
final TextView downloadBtn,
|
||||
final GameEntity entity,
|
||||
final String entrance,
|
||||
|
||||
Reference in New Issue
Block a user