Moved main Activity to ui sub-package
Also force portrait orientation.
This commit is contained in:
@@ -12,8 +12,10 @@
|
||||
android:icon="@drawable/strongswan"
|
||||
android:label="@string/app_name" >
|
||||
<activity
|
||||
android:name=".strongSwanActivity"
|
||||
android:label="@string/app_name" >
|
||||
android:name=".ui.MainActivity"
|
||||
android:label="@string/app_name"
|
||||
android:launchMode="singleTop"
|
||||
android:screenOrientation="portrait" >
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
|
||||
+2
-2
@@ -1,11 +1,11 @@
|
||||
package org.strongswan.android;
|
||||
package org.strongswan.android.ui;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.Intent;
|
||||
import android.net.VpnService;
|
||||
import android.os.Bundle;
|
||||
|
||||
public class strongSwanActivity extends Activity
|
||||
public class MainActivity extends Activity
|
||||
{
|
||||
@Override
|
||||
public void onCreate(Bundle savedInstanceState)
|
||||
Reference in New Issue
Block a user