summaryrefslogtreecommitdiff
path: root/main/src
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2017-10-13 18:19:09 +0200
committercyBerta <cyberta@riseup.net>2017-10-13 18:19:09 +0200
commit95403c6cb19b2f08df187eeb5bf67030d58bb87f (patch)
tree64f27fbc90ef9bf2664ff9e4db3dd17b5a8001f3 /main/src
parent455ec6337157118b6d2e49808f25fd80d164956e (diff)
#8760 Remove Pause VPN button from notification0.9.7RC20.9.7RC10.9.7
Diffstat (limited to 'main/src')
-rw-r--r--main/src/main/java/de/blinkt/openvpn/core/OpenVPNService.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/src/main/java/de/blinkt/openvpn/core/OpenVPNService.java b/main/src/main/java/de/blinkt/openvpn/core/OpenVPNService.java
index ed7ba2c8..40d412da 100644
--- a/main/src/main/java/de/blinkt/openvpn/core/OpenVPNService.java
+++ b/main/src/main/java/de/blinkt/openvpn/core/OpenVPNService.java
@@ -331,6 +331,7 @@ public class OpenVPNService extends VpnService implements StateListener, Callbac
nbuilder.addAction(R.drawable.ic_menu_close_clear_cancel,
getString(R.string.cancel_connection), disconnectPendingIntent);
+ /* NO PAUSE VPN functionality for Bitmask (yet)
Intent pauseVPN = new Intent(this, OpenVPNService.class);
if (mDeviceStateReceiver == null || !mDeviceStateReceiver.isUserPaused()) {
pauseVPN.setAction(PAUSE_VPN);
@@ -343,7 +344,7 @@ public class OpenVPNService extends VpnService implements StateListener, Callbac
PendingIntent resumeVPNPending = PendingIntent.getService(this, 0, pauseVPN, 0);
nbuilder.addAction(R.drawable.ic_menu_play,
getString(R.string.resumevpn), resumeVPNPending);
- }
+ } */
//ignore exception