summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-06-27 22:59:55 +0200
committerArne Schwabe <arne@rfc2549.org>2012-06-27 22:59:55 +0200
commitce20c72f201f6982cf0273aff4cab939abe08459 (patch)
tree3c1eb52a7f3aab74fa27d01b79c31ab7dba85ae9 /src/de/blinkt/openvpn
parent35fc78f5c1cfaf4f3a35a67b0e9f851bdbd8c40d (diff)
Some minor fixes
Diffstat (limited to 'src/de/blinkt/openvpn')
-rw-r--r--src/de/blinkt/openvpn/LaunchVPN.java2
-rw-r--r--src/de/blinkt/openvpn/OpenVpnService.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/de/blinkt/openvpn/LaunchVPN.java b/src/de/blinkt/openvpn/LaunchVPN.java
index 1c873f22..7c988b69 100644
--- a/src/de/blinkt/openvpn/LaunchVPN.java
+++ b/src/de/blinkt/openvpn/LaunchVPN.java
@@ -305,7 +305,7 @@ public class LaunchVPN extends ListActivity implements OnItemClickListener {
askForPW(needpw);
} else {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
- boolean showlogwindow = prefs.getBoolean("showlogwindow", false);
+ boolean showlogwindow = prefs.getBoolean("showlogwindow", true);
if(showlogwindow)
showLogWindow();
new startOpenVpnThread().start();
diff --git a/src/de/blinkt/openvpn/OpenVpnService.java b/src/de/blinkt/openvpn/OpenVpnService.java
index fd0b4f2a..6cf1e42a 100644
--- a/src/de/blinkt/openvpn/OpenVpnService.java
+++ b/src/de/blinkt/openvpn/OpenVpnService.java
@@ -81,7 +81,7 @@ public class OpenVpnService extends VpnService implements StateListener {
NotificationManager mNotificationManager = (NotificationManager) getSystemService(ns);
- int icon = R.drawable.icon;
+ int icon = R.drawable.ic_stat_vpn;
long when = System.currentTimeMillis();
android.app.Notification.Builder nbuilder = new Notification.Builder(this);