File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
android/app/src/main/java/im/status/ethereum Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ public class MainActivity extends NavigationActivity
43
43
44
44
45
45
@ Nullable private PermissionListener mPermissionListener ;
46
- private boolean keep = true ;
47
- private final int DELAY = 2500 ;
46
+ private boolean keepSplash = true ;
47
+ private final int SPLASH_DELAY = 6200 ;
48
48
49
49
private static void registerUncaughtExceptionHandler (final Context context ) {
50
50
final Thread .UncaughtExceptionHandler defaultUncaughtExceptionHandler = Thread .getDefaultUncaughtExceptionHandler ();
@@ -194,16 +194,13 @@ public void run() {
194
194
// on first start emit will (silently) fail, but the regular deep linking handler will work
195
195
tryToEmit ("url" , event );
196
196
}
197
-
198
- keep = false ;
199
197
}
200
198
};
201
199
202
- splashScreen .setKeepOnScreenCondition (() -> keep );
203
- /*
200
+ splashScreen .setKeepOnScreenCondition (() -> keepSplash );
201
+
204
202
Handler handler = new Handler ();
205
- handler.postDelayed(() -> keep = false, DELAY);
206
- */
203
+ handler .postDelayed (() -> keepSplash = false , SPLASH_DELAY );
207
204
208
205
StatusThreadPoolExecutor .getInstance ().execute (r );
209
206
}
You can’t perform that action at this time.
0 commit comments