光环助手V4.7.0-首页游戏功能强化 https://git.ghzs.com/pm/halo-app-issues/-/issues/1122
This commit is contained in:
@ -276,8 +276,8 @@ public class MainActivity extends BaseActivity {
|
||||
SPUtils.setBoolean(Constants.SP_TOP_VIDEO_VOICE, true);
|
||||
//恢复视频流非Wifi提醒
|
||||
SPUtils.setBoolean(Constants.SP_NON_WIFI_TIPS, true);
|
||||
//重置顶部视频播放进度
|
||||
SPUtils.setString(Constants.SP_TOP_VIDEO_SCHEDULE, "");
|
||||
//重置首页视频播放进度
|
||||
SPUtils.setString(Constants.SP_HOME_VIDEO_PLAY_RECORD, "");
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -383,7 +383,8 @@ public class MainActivity extends BaseActivity {
|
||||
break;
|
||||
case HOST_LAUNCH_SIMULATOR_GAME:
|
||||
String json = getIntent().getStringExtra(EntranceUtils.KEY_GAME);
|
||||
GameEntity gameEntity = GsonUtils.getGson().fromJson(json, new TypeToken<GameEntity>(){}.getType());
|
||||
GameEntity gameEntity = GsonUtils.getGson().fromJson(json, new TypeToken<GameEntity>() {
|
||||
}.getType());
|
||||
DownloadEntity downloadEntity = SimulatorGameManager.findDownloadEntityByUrl(gameEntity.getApk().get(0).getUrl());
|
||||
if (downloadEntity != null) {
|
||||
File file = new File(downloadEntity.getPath());
|
||||
@ -413,6 +414,7 @@ public class MainActivity extends BaseActivity {
|
||||
|
||||
/**
|
||||
* 应用跳转
|
||||
*
|
||||
* @param packageName
|
||||
*/
|
||||
@SuppressLint("CheckResult")
|
||||
|
||||
Reference in New Issue
Block a user