From 0a937a2269f9df1f0a9ce3815e74d1b90d9d8011 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Fri, 13 Oct 2017 18:24:39 +0200 Subject: #8760 remove pause vpn button from notification --- app/src/main/java/de/blinkt/openvpn/core/OpenVPNService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app') diff --git a/app/src/main/java/de/blinkt/openvpn/core/OpenVPNService.java b/app/src/main/java/de/blinkt/openvpn/core/OpenVPNService.java index 835e69b3..ded7490a 100644 --- a/app/src/main/java/de/blinkt/openvpn/core/OpenVPNService.java +++ b/app/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 -- cgit v1.2.3