From a17c7b9bbf468e2ec9e3a3079e88a8d98b99eaf2 Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Mon, 22 Apr 2013 16:57:54 -0700 Subject: [PATCH] Fixing CB-2685: This class does nothing. Cordova is a Library not an Application --- framework/AndroidManifest.xml | 9 ++---- .../src/org/apache/cordova/StandAlone.java | 32 ------------------- 2 files changed, 2 insertions(+), 39 deletions(-) delete mode 100644 framework/src/org/apache/cordova/StandAlone.java diff --git a/framework/AndroidManifest.xml b/framework/AndroidManifest.xml index 8405172c7..f1336ea8a 100755 --- a/framework/AndroidManifest.xml +++ b/framework/AndroidManifest.xml @@ -50,16 +50,11 @@ - - - - - - + + diff --git a/framework/src/org/apache/cordova/StandAlone.java b/framework/src/org/apache/cordova/StandAlone.java deleted file mode 100644 index a199dda8c..000000000 --- a/framework/src/org/apache/cordova/StandAlone.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. -*/ -package org.apache.cordova; - -import android.os.Bundle; - -public class StandAlone extends DroidGap { - - @Override - public void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - - super.loadUrl("file:///android_asset/www/index.html"); - } - -}