Commit 8589eb75 authored by wangfugui's avatar wangfugui

将先行卡版本检查由LogoActivity中移动回HomeActivity

parent baf0cc48
...@@ -12,7 +12,6 @@ import cn.garymb.ygomobile.AppsSettings; ...@@ -12,7 +12,6 @@ import cn.garymb.ygomobile.AppsSettings;
import cn.garymb.ygomobile.YGOStarter; import cn.garymb.ygomobile.YGOStarter;
import cn.garymb.ygomobile.lite.R; import cn.garymb.ygomobile.lite.R;
import cn.garymb.ygomobile.ui.home.MainActivity; import cn.garymb.ygomobile.ui.home.MainActivity;
import cn.garymb.ygomobile.utils.ServerUtil;
public class LogoActivity extends Activity { public class LogoActivity extends Activity {
Handler handler; Handler handler;
...@@ -42,7 +41,6 @@ public class LogoActivity extends Activity { ...@@ -42,7 +41,6 @@ public class LogoActivity extends Activity {
handler.postDelayed(runnable, 1000); handler.postDelayed(runnable, 1000);
Toast.makeText(LogoActivity.this, R.string.logo_text, Toast.LENGTH_SHORT).show(); Toast.makeText(LogoActivity.this, R.string.logo_text, Toast.LENGTH_SHORT).show();
} }
ServerUtil.initExCardState();//检查扩展卡版本
if (!isTaskRoot()) { if (!isTaskRoot()) {
finish(); finish();
} }
......
...@@ -105,7 +105,7 @@ public abstract class HomeActivity extends BaseActivity implements BottomNavigat ...@@ -105,7 +105,7 @@ public abstract class HomeActivity extends BaseActivity implements BottomNavigat
//showNewbieGuide("homePage"); //showNewbieGuide("homePage");
initBottomNavigationBar(); initBottomNavigationBar();
onNewIntent(getIntent()); onNewIntent(getIntent());
ServerUtil.initExCardState();//检查扩展卡版本
} }
@Override @Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment