summaryrefslogtreecommitdiff
path: root/src
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
commit4335ce3f60df74c130161935c88410c244f1bb71 (patch)
treecf48dc31de047607e3f30bcc93df9451de50899b /src
parentbc279dfd2cffaf8278ee0750aa2c05af9e4091e0 (diff)
Some minor fixes
Diffstat (limited to 'src')
-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);