diff options
author | Arne Schwabe <arne@rfc2549.org> | 2019-12-11 11:20:45 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2019-12-11 11:20:45 +0100 |
commit | b5e0eee4b798d3e2bfef3b87500b8625b77a16b4 (patch) | |
tree | 309498cb7c9643d62e09ab7eadf20a6b2420ed4c /main/src/skeleton | |
parent | 37f2e17f3bcad4e53e6dd4690340123219557a0f (diff) |
Modernise 2FA challenge input, use activity alias for non implemented activities
Diffstat (limited to 'main/src/skeleton')
-rw-r--r-- | main/src/skeleton/AndroidManifest.xml | 13 | ||||
-rw-r--r-- | main/src/skeleton/java/de/blinkt/openvpn/activities/MainActivity.java | 14 | ||||
-rw-r--r-- | main/src/skeleton/java/de/blinkt/openvpn/activities/NotImplemented.java (renamed from main/src/skeleton/java/de/blinkt/openvpn/activities/LogWindow.java) | 2 |
3 files changed, 13 insertions, 16 deletions
diff --git a/main/src/skeleton/AndroidManifest.xml b/main/src/skeleton/AndroidManifest.xml index 916da0e2..054d61e7 100644 --- a/main/src/skeleton/AndroidManifest.xml +++ b/main/src/skeleton/AndroidManifest.xml @@ -9,8 +9,19 @@ <application tools:ignore="AllowBackup,GoogleAppIndexingWarning"> <activity - android:name=".activities.MainActivity" + android:name=".activities.NotImplemented" tools:ignore="ExportedActivity" /> + + <activity-alias + android:name=".activities.LogWindow" + android:targetActivity=".activities.NotImplemented" + /> + + <activity-alias + android:name=".activities.Req" + android:targetActivity=".activities.NotImplemented" + /> + </application> </manifest> diff --git a/main/src/skeleton/java/de/blinkt/openvpn/activities/MainActivity.java b/main/src/skeleton/java/de/blinkt/openvpn/activities/MainActivity.java deleted file mode 100644 index d3c79d51..00000000 --- a/main/src/skeleton/java/de/blinkt/openvpn/activities/MainActivity.java +++ /dev/null @@ -1,14 +0,0 @@ -package de.blinkt.openvpn.activities; - -import android.app.Activity; -import android.os.Bundle; -import android.widget.Toast; - -public class MainActivity extends Activity { - @Override - protected void onCreate( Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - Toast.makeText(this, "Not implemented", Toast.LENGTH_LONG).show(); - finish(); - } -}
\ No newline at end of file diff --git a/main/src/skeleton/java/de/blinkt/openvpn/activities/LogWindow.java b/main/src/skeleton/java/de/blinkt/openvpn/activities/NotImplemented.java index 9fd3ba49..3abe826f 100644 --- a/main/src/skeleton/java/de/blinkt/openvpn/activities/LogWindow.java +++ b/main/src/skeleton/java/de/blinkt/openvpn/activities/NotImplemented.java @@ -4,7 +4,7 @@ import android.app.Activity; import android.os.Bundle; import android.widget.Toast; -public class LogWindow extends Activity { +public class NotImplemented extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); |