首页启动性能优化,修复游戏平台面板插件图标异常问题
This commit is contained in:
@ -253,13 +253,13 @@ public class SplashScreenActivity extends BaseActivity {
|
||||
if (EasyPermissions.hasPermissions(this, permissions)) {
|
||||
if (!isNewFirstLaunch) {
|
||||
long end = System.currentTimeMillis() - start;
|
||||
if (end < 3000) {
|
||||
if (end < 2000) {
|
||||
getWindow().getDecorView().postDelayed(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
launch();
|
||||
}
|
||||
}, 3000 - end);
|
||||
}, 2000 - end);
|
||||
} else {
|
||||
launch();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user