..
This commit is contained in:
@@ -187,9 +187,9 @@ public class MogoApplication extends AbsMogoApplication {
|
||||
preparePassportEnvironment();
|
||||
prepareSocketAndLocationServices(apis);
|
||||
//无延迟
|
||||
// UiThreadHandler.postDelayed(() -> {
|
||||
//
|
||||
// }, delay);
|
||||
UiThreadHandler.postDelayed(() -> {
|
||||
|
||||
}, delay);
|
||||
}
|
||||
|
||||
private void preparePassportEnvironment() {
|
||||
|
||||
@@ -5,9 +5,9 @@ import android.os.Looper;
|
||||
|
||||
public class UiThreadHandler {
|
||||
|
||||
private static Handler sUiHandler = new Handler( Looper.getMainLooper() );
|
||||
private static final Handler sUiHandler = new Handler( Looper.getMainLooper() );
|
||||
|
||||
private static Object sToken = new Object();
|
||||
private static final Object sToken = new Object();
|
||||
|
||||
public UiThreadHandler() {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user