diff options
author | David Barksdale <amatus@amatus.name> | 2013-09-18 22:59:29 -0500 |
---|---|---|
committer | David Barksdale <amatus@amatus.name> | 2013-09-18 22:59:29 -0500 |
commit | 5696a8d661e962e85c013dc2f6cafbe2d02e0c49 (patch) | |
tree | 9fc35434eddb2b41cc022d2f8c09edf2dff0f755 /src/java/io/cons/carddav_sync/SplashActivity.java | |
parent | a2463668724a54ad67bba4f902cff4a3bc21ea2e (diff) |
Upgrade to neko 3.0.0-beta6.
Diffstat (limited to 'src/java/io/cons/carddav_sync/SplashActivity.java')
-rw-r--r-- | src/java/io/cons/carddav_sync/SplashActivity.java | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/src/java/io/cons/carddav_sync/SplashActivity.java b/src/java/io/cons/carddav_sync/SplashActivity.java index b6b2b84..9bdc24e 100644 --- a/src/java/io/cons/carddav_sync/SplashActivity.java +++ b/src/java/io/cons/carddav_sync/SplashActivity.java @@ -23,16 +23,12 @@ public class SplashActivity extends Activity { public void onCreate(Bundle bundle) { super.onCreate(bundle); - Intent selector = getIntent().getSelector(); - if (selector == null) { - selector = new Intent("io.cons.carddav_sync.MAIN"); - } if (firstLaunch) { firstLaunch = false; setupSplash(); - loadClojure(selector); + loadClojure(); } else { - proceed(selector); + proceed(); } } @@ -47,12 +43,12 @@ public class SplashActivity extends Activity { circleView.startAnimation(rotation); } - public void proceed(final Intent selector) { - startActivity(selector); + public void proceed() { + startActivity(new Intent("io.cons.carddav_sync.MAIN")); finish(); } - public void loadClojure(final Intent selector) { + public void loadClojure() { new Thread(new Runnable(){ @Override public void run() { @@ -63,7 +59,7 @@ public class SplashActivity extends Activity { Var INIT = RT.var("neko.application", "init-application"); INIT.invoke(SplashActivity.this.getApplication()); - proceed(selector); + proceed(); } }).start(); } |