summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2018-02-14 15:51:50 +0100
committercyBerta <cyberta@riseup.net>2018-02-14 15:51:50 +0100
commit984e58fea146fff53d2348d869ca4e1076cb9c9f (patch)
treeac7675af581cc2c7643e8744b7c10a22f64364d2
parent8a811ee92698b041c6b799e93624a500603c9ff4 (diff)
#8846 remove Dashboard references
-rw-r--r--main/src/main/java/de/blinkt/openvpn/LaunchVPN.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/src/main/java/de/blinkt/openvpn/LaunchVPN.java b/main/src/main/java/de/blinkt/openvpn/LaunchVPN.java
index 4fff3071..4cde3cb4 100644
--- a/main/src/main/java/de/blinkt/openvpn/LaunchVPN.java
+++ b/main/src/main/java/de/blinkt/openvpn/LaunchVPN.java
@@ -19,13 +19,12 @@ import android.os.Bundle;
import java.io.IOException;
-import de.blinkt.openvpn.activities.LogWindow;
import de.blinkt.openvpn.core.ConnectionStatus;
import de.blinkt.openvpn.core.Preferences;
import de.blinkt.openvpn.core.ProfileManager;
import de.blinkt.openvpn.core.VPNLaunchHelper;
import de.blinkt.openvpn.core.VpnStatus;
-import se.leap.bitmaskclient.R;
+import se.leap.bitmaskclient.MainActivity;
/**
* This Activity actually handles two stages of a launcher shortcut's life cycle.
@@ -141,7 +140,8 @@ public class LaunchVPN extends Activity {
void showLogWindow() {
- Intent startLW = new Intent(getBaseContext(), LogWindow.class);
+ Intent startLW = new Intent(getBaseContext(), MainActivity.class);
+ startLW.putExtra(MainActivity.ACTION_SHOW_LOG_FRAGMENT, true);
startLW.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);
startActivity(startLW);