diff options
author | cyBerta <cyberta@riseup.net> | 2018-12-11 08:43:52 +0100 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2018-12-11 08:43:52 +0100 |
commit | 3609af508119f4d27b148e6f6f296c112943eafe (patch) | |
tree | 6c13e386c27ed07b3120e6976f298c70486075ff | |
parent | 4cf63d32d8b8770d366f39cd08e7f00f6a420f2b (diff) | |
parent | bb072ffab834d347946468b0cd3834ee22e9ff13 (diff) |
Merge branch 'cyberta_master' into feature/gatewayselection
-rw-r--r-- | CHANGELOG | 9 | ||||
-rw-r--r-- | app/build.gradle | 4 | ||||
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/VpnNotificationManager.java | 5 | ||||
-rw-r--r-- | app/src/main/res/values/untranslatable.xml | 2 |
4 files changed, 15 insertions, 5 deletions
@@ -1,3 +1,12 @@ +0.9.9 - custom branded apps +Features: +- allows Providers to create an own version of Bitmask without knowing much about Android development +-> Credits goes to janak, a GSOC 2018 participant for LEAP! +- direct link to Android's VPN settings to allow always-on vpn +- updated crypto libraries +- new translations +- bugfixes + 0.9.8 - the UI overhaul Bugs: - fixes notification channel bug on Android 8+ diff --git a/app/build.gradle b/app/build.gradle index 21948eed..33f8baa1 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -16,8 +16,8 @@ android { defaultConfig { applicationId "se.leap.bitmaskclient" - versionCode 135 - versionName "0.9.9RC1" + versionCode 136 + versionName "0.9.9" resValue "string", "app_name", appName vectorDrawables.useSupportLibrary = true buildConfigField 'boolean', 'openvpn3', 'false' diff --git a/app/src/main/java/se/leap/bitmaskclient/VpnNotificationManager.java b/app/src/main/java/se/leap/bitmaskclient/VpnNotificationManager.java index f4c7f682..503ba536 100644 --- a/app/src/main/java/se/leap/bitmaskclient/VpnNotificationManager.java +++ b/app/src/main/java/se/leap/bitmaskclient/VpnNotificationManager.java @@ -127,10 +127,11 @@ public class VpnNotificationManager { NotificationCompat.Action.Builder actionBuilder = new NotificationCompat.Action. Builder(R.drawable.ic_menu_close_clear_cancel, cancelString, getDisconnectIntent()); String title; + String appName = context.getString(R.string.app_name); if (isEmpty(profileName)) { - title = context.getString(R.string.app_name); + title = appName; } else { - title = context.getString(R.string.notifcation_title_bitmask, profileName); + title = context.getString(R.string.notifcation_title_bitmask, appName, profileName); } PendingIntent contentIntent; diff --git a/app/src/main/res/values/untranslatable.xml b/app/src/main/res/values/untranslatable.xml index f1cc82ad..07cca36e 100644 --- a/app/src/main/res/values/untranslatable.xml +++ b/app/src/main/res/values/untranslatable.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <resources> - <string name="notifcation_title_bitmask">Bitmask - %s</string> + <string name="notifcation_title_bitmask">%s - %s</string> <string name="copyright_leapgui" translatable="false">Copyright 2012-2018\nLEAP Encryption Access Project <info@leap.se></string> <string name="opevpn_copyright" translatable="false">Copyright © 2002–2010 OpenVPN Technologies, Inc. <sales@openvpn.net>\n "OpenVPN" is a trademark of OpenVPN Technologies, Inc.</string> |