Index: sky/sdk/example/demo_launcher/apk/org/domokit/sky/demo/SkyDemoActivity.java |
diff --git a/sky/apk/demo/org/domokit/sky/demo/SkyDemoActivity.java b/sky/sdk/example/demo_launcher/apk/org/domokit/sky/demo/SkyDemoActivity.java |
similarity index 78% |
rename from sky/apk/demo/org/domokit/sky/demo/SkyDemoActivity.java |
rename to sky/sdk/example/demo_launcher/apk/org/domokit/sky/demo/SkyDemoActivity.java |
index 93ce9f73e45c7fe1a2d9047521fda28657159204..ad97c69be89bdbd990c90c6945649d8a9c0357e1 100644 |
--- a/sky/apk/demo/org/domokit/sky/demo/SkyDemoActivity.java |
+++ b/sky/sdk/example/demo_launcher/apk/org/domokit/sky/demo/SkyDemoActivity.java |
@@ -12,18 +12,11 @@ import org.domokit.sky.shell.SkyActivity; |
* Main activity for SkyDemo. |
*/ |
public class SkyDemoActivity extends SkyActivity { |
- private static final String DEFAULT_URL = "https://domokit.github.io/example/demo_launcher/lib/main.dart"; |
- |
@Override |
protected void onSkyReady() { |
Intent intent = getIntent(); |
String action = intent.getAction(); |
- if (Intent.ACTION_MAIN.equals(action)) { |
- loadUrl(DEFAULT_URL); |
- return; |
- } |
- |
if (Intent.ACTION_VIEW.equals(action)) { |
String bundleName = intent.getStringExtra("bundleName"); |
if (bundleName != null && loadBundleByName(bundleName)) { |