diff options
author | Parménides GV <parmegv@sdf.org> | 2013-07-29 21:11:21 +0200 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2013-07-29 21:11:21 +0200 |
commit | d82b11d09ef70ac71f30188c3c89ad64b11e8703 (patch) | |
tree | ad73e611ae8715dca37ee6e01dc6ddd5e190924d /src/se/leap/openvpn | |
parent | a1a03615cb9c4f978142b234f028e718eb91a103 (diff) |
Backstack OK from notification bar.
Pressing back after entering Dashboard from notification bar, the user
goes back to home.
Diffstat (limited to 'src/se/leap/openvpn')
-rw-r--r-- | src/se/leap/openvpn/OpenVpnService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/se/leap/openvpn/OpenVpnService.java b/src/se/leap/openvpn/OpenVpnService.java index 3ac80497..47f9ca44 100644 --- a/src/se/leap/openvpn/OpenVpnService.java +++ b/src/se/leap/openvpn/OpenVpnService.java @@ -161,7 +161,7 @@ public class OpenVpnService extends VpnService implements StateListener, Callbac PendingIntent getLogPendingIntent() { // Let the configure Button show the Dashboard Intent intent = new Intent(Dashboard.getAppContext(),Dashboard.class); - intent.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT); + intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); PendingIntent startLW = PendingIntent.getActivity(getApplicationContext(), 0, intent, PendingIntent.FLAG_UPDATE_CURRENT); intent.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT); return startLW; |