Index: sky/shell/org/domokit/sky/shell/SkyActivity.java |
diff --git a/sky/shell/org/domokit/sky/shell/SkyActivity.java b/sky/shell/org/domokit/sky/shell/SkyActivity.java |
deleted file mode 100644 |
index 101c282665a69eac5f649a47fee7c7af9ad19e23..0000000000000000000000000000000000000000 |
--- a/sky/shell/org/domokit/sky/shell/SkyActivity.java |
+++ /dev/null |
@@ -1,44 +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.shell; |
- |
-import android.app.Activity; |
-import android.os.Build; |
-import android.os.Bundle; |
-import android.view.View; |
-import android.view.WindowManager; |
- |
-/** |
- * Base class for activities that use Sky. |
- */ |
-public class SkyActivity extends Activity { |
- private TracingController mTracingController; |
- private PlatformView mView; |
- |
- /** |
- * @see android.app.Activity#onCreate(android.os.Bundle) |
- */ |
- @Override |
- protected void onCreate(Bundle savedInstanceState) { |
- super.onCreate(savedInstanceState); |
- |
- if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { |
- getWindow().addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS); |
- getWindow().setStatusBarColor(0x40000000); |
- } |
- getWindow().getDecorView().setSystemUiVisibility( |
- View.SYSTEM_UI_FLAG_LAYOUT_STABLE |
- | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN); |
- |
- SkyMain.ensureInitialized(getApplicationContext()); |
- mView = new PlatformView(this); |
- setContentView(mView); |
- mTracingController = new TracingController(this); |
- } |
- |
- public void loadUrl(String url) { |
- mView.loadUrl(url); |
- } |
-} |