Index: platform_tools/android/apps/vulkanviewer/src/main/java/com/skia/vulkanviewer/VulkanViewerActivity.java |
diff --git a/platform_tools/android/apps/vulkanviewer/src/main/java/com/skia/vulkanviewer/VulkanViewerActivity.java b/platform_tools/android/apps/vulkanviewer/src/main/java/com/skia/vulkanviewer/VulkanViewerActivity.java |
new file mode 100644 |
index 0000000000000000000000000000000000000000..dcb00858e5f6d4fa0431ff6f85dc33bbc4294beb |
--- /dev/null |
+++ b/platform_tools/android/apps/vulkanviewer/src/main/java/com/skia/vulkanviewer/VulkanViewerActivity.java |
@@ -0,0 +1,28 @@ |
+/* |
+ * Copyright 2015 Google Inc. |
+ * |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. |
+ */ |
+ |
+package com.skia.vulkanviewer; |
+ |
+import android.app.ActionBar; |
+import android.os.Bundle; |
+import android.provider.Settings; |
+import android.view.View; |
+import android.view.WindowManager; |
+ |
+public class VulkanViewerActivity extends android.app.NativeActivity { |
+ static { |
+ System.loadLibrary("skia_android"); |
+ } |
+ |
+ @Override |
+ public void onCreate(Bundle savedInstanceState) |
+ { |
+ super.onCreate(savedInstanceState); |
+ ActionBar ab = this.getActionBar(); |
+ ab.hide(); |
+ } |
+} |