Add VPN settings classes to Settings app.
PATCH SET 2:
+ Add import com.android.settings.R
PATCH SET 3:
+ Remove @Override interface methods to be compilable by Java 1.5.
PATCH SET 4:
+ Add import android.net.vpn.VpnManager
PATCH SET 5:
+ Add license headers.
PATCH SET 6:
+ Remove Constant.java and move the constants to VpnSettings.
+ Make AuthenticationActor implement DialogInterface's handlers.
+ Remove trailing spaces.
PATCH SET 7:
+ Remove default username.
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index f9758f3..2714457 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -110,6 +110,20 @@
</intent-filter>
</activity>
+ <activity android:name=".vpn.VpnSettings"
+ android:launchMode="singleTask">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <action android:name="android.net.vpn.SETTINGS" />
+ <action android:name="android.net.vpn.INSTALL_PROFILE" />
+ <category android:name="android.intent.category.LAUNCHER" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+ </activity>
+
+ <activity android:name=".vpn.VpnTypeSelection"></activity>
+ <activity android:name=".vpn.VpnEditor"></activity>
+
<activity android:name="DateTimeSettings" android:label="@string/date_and_time"
>
<intent-filter>