From ce20c72f201f6982cf0273aff4cab939abe08459 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Wed, 27 Jun 2012 22:59:55 +0200 Subject: Some minor fixes --- AndroidManifest.xml | 4 ++-- res/xml/general_settings.xml | 2 +- src/de/blinkt/openvpn/LaunchVPN.java | 2 +- src/de/blinkt/openvpn/OpenVpnService.java | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 456f47dc..3a2b458e 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -17,8 +17,8 @@ + android:versionCode="31" + android:versionName="0.5.9" > diff --git a/res/xml/general_settings.xml b/res/xml/general_settings.xml index 2da80cc6..69316d18 100644 --- a/res/xml/general_settings.xml +++ b/res/xml/general_settings.xml @@ -12,7 +12,7 @@ android:summary="@string/owner_fix_summary" android:title="@string/owner_fix" /> 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