From 4335ce3f60df74c130161935c88410c244f1bb71 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Wed, 27 Jun 2012 22:59:55 +0200 Subject: Some minor fixes --- src/de/blinkt/openvpn/LaunchVPN.java | 2 +- src/de/blinkt/openvpn/OpenVpnService.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); -- cgit v1.2.3