Merge branch '2.0' of https://git.oschina.net/dreamhua/GH-ASSISTv1.45 into 2.0
This commit is contained in:
@ -149,6 +149,8 @@ public class MainActivity extends BaseFragmentActivity implements OnClickListene
|
||||
private TextView app_btn_cancel;
|
||||
private AppEntity appEntity;
|
||||
|
||||
public static MainActivity mainActivity = null;
|
||||
|
||||
// 黄壮华 添加观察者 修改2015/8/15
|
||||
private DataWatcher dataWatcher = new DataWatcher() {
|
||||
@Override
|
||||
@ -393,6 +395,8 @@ public class MainActivity extends BaseFragmentActivity implements OnClickListene
|
||||
// 初始化gameMap
|
||||
DownloadManager.getInstance(this).initGameMap();
|
||||
|
||||
mainActivity = this;
|
||||
|
||||
if (savedInstanceState != null) {
|
||||
currentTab = savedInstanceState.getInt("currentTab");
|
||||
} else {
|
||||
@ -428,10 +432,10 @@ public class MainActivity extends BaseFragmentActivity implements OnClickListene
|
||||
if (isNewFirstLaunch) {
|
||||
getPluginUpdate();
|
||||
sp.edit().putBoolean("isNewFirstLaunch", false).apply();
|
||||
} else {
|
||||
handler.postDelayed(runnable, 500);
|
||||
}
|
||||
|
||||
handler.postDelayed(runnable, 500);
|
||||
|
||||
getDisclaimer(isNewFirstLaunch);
|
||||
|
||||
// 初始化PlatformUtils
|
||||
|
||||
Reference in New Issue
Block a user