项目修改与整理

This commit is contained in:
huangzhuanghua
2017-01-04 16:16:34 +08:00
parent 321121d5ef
commit 659d6fc263
55 changed files with 151 additions and 166 deletions

View File

@ -323,14 +323,13 @@ public class SplashScreenActivity extends BaseActivity {
// 跳转到主界面
private void launch() {
Intent intent = new Intent(SplashScreenActivity.this, MainActivity.class);
Bundle bundle = intent.getExtras();
if (intent.getBundleExtra("data") != null) {
bundle = intent.getBundleExtra("data");
Bundle bundle = getIntent().getExtras();
if (getIntent().getBundleExtra("data") != null) {
bundle = getIntent().getBundleExtra("data");
}
intent.putExtra("data", bundle);
Intent intent = new Intent(SplashScreenActivity.this, MainActivity.class);
intent.putExtra("data", bundle);
startActivity(intent);
finish();
}