Index: sky/apk/demo/org/domokit/sky/demo/SkyDemoActivity.java |
diff --git a/sky/apk/demo/org/domokit/sky/demo/SkyDemoActivity.java b/sky/apk/demo/org/domokit/sky/demo/SkyDemoActivity.java |
deleted file mode 100644 |
index 93ce9f73e45c7fe1a2d9047521fda28657159204..0000000000000000000000000000000000000000 |
--- a/sky/apk/demo/org/domokit/sky/demo/SkyDemoActivity.java |
+++ /dev/null |
@@ -1,38 +0,0 @@ |
-// Copyright 2015 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-package org.domokit.sky.demo; |
- |
-import android.content.Intent; |
- |
-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)) { |
- return; |
- } |
- loadUrl(intent.getDataString()); |
- return; |
- } |
- |
- super.onSkyReady(); |
- } |
-} |