|
|
@ -30,7 +30,7 @@ public class SplashContext { |
|
|
|
public static final String SPLASH_PATH = getSplashPath(); |
|
|
|
public static final String SPLASH_PATH = getSplashPath(); |
|
|
|
public static final String SPLASH_CACHE_NAME = SPLASH_PATH.substring(SPLASH_PATH.lastIndexOf("/") + 1); |
|
|
|
public static final String SPLASH_CACHE_NAME = SPLASH_PATH.substring(SPLASH_PATH.lastIndexOf("/") + 1); |
|
|
|
private static final int FETCH_ONLINE_MAX_TIMES = 50; |
|
|
|
private static final int FETCH_ONLINE_MAX_TIMES = 50; |
|
|
|
private String THANKS = StringUtils.EMPTY; |
|
|
|
private String thanks = StringUtils.EMPTY; |
|
|
|
|
|
|
|
|
|
|
|
private static final SplashContext SPLASH_CONTEXT = new SplashContext(); |
|
|
|
private static final SplashContext SPLASH_CONTEXT = new SplashContext(); |
|
|
|
|
|
|
|
|
|
|
@ -98,7 +98,7 @@ public class SplashContext { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void initListener() { |
|
|
|
private void initListener() { |
|
|
|
THANKS = Toolkit.i18nText("Fine-Design_Report_Thanks_To"); |
|
|
|
thanks = Toolkit.i18nText("Fine-Design_Report_Thanks_To"); |
|
|
|
moduleId = Toolkit.i18nText("Fine-Design_Basic_Initializing"); |
|
|
|
moduleId = Toolkit.i18nText("Fine-Design_Basic_Initializing"); |
|
|
|
scheduler.scheduleAtFixedRate(new Runnable() { |
|
|
|
scheduler.scheduleAtFixedRate(new Runnable() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
@ -166,7 +166,7 @@ public class SplashContext { |
|
|
|
if (shouldShowThanks() && !hasShowThanks) { |
|
|
|
if (shouldShowThanks() && !hasShowThanks) { |
|
|
|
tryFetchOnline(); |
|
|
|
tryFetchOnline(); |
|
|
|
if (StringUtils.isNotEmpty(guest)) { |
|
|
|
if (StringUtils.isNotEmpty(guest)) { |
|
|
|
updateThanksLog(THANKS + guest); |
|
|
|
updateThanksLog(thanks + guest); |
|
|
|
hasShowThanks = true; |
|
|
|
hasShowThanks = true; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|