summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2019-03-09 17:12:20 +0100
committercyBerta <cyberta@riseup.net>2019-03-09 17:13:46 +0100
commitea8b752e03724aad302bdf683b91847c35877d7c (patch)
tree1d47a7dd10125acdb3244b2b871863f08df5d0dd
parentb6b538ae914452d15d3ee7a2839f22dad96b57ba (diff)
don't show toasts if app is reconnecting with different gateway in this release
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/EipFragment.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/EipFragment.java b/app/src/main/java/se/leap/bitmaskclient/EipFragment.java
index 2af455f8..d54d01af 100644
--- a/app/src/main/java/se/leap/bitmaskclient/EipFragment.java
+++ b/app/src/main/java/se/leap/bitmaskclient/EipFragment.java
@@ -366,15 +366,14 @@ public class EipFragment extends Fragment implements Observer {
return;
}
- Log.d(TAG, "eip fragment eipStatus state: " + eipStatus.getState() + " - level: " + eipStatus.getLevel() + " - is reconnecting: " + eipStatus.isReconnecting());
+ //Log.d(TAG, "eip fragment eipStatus state: " + eipStatus.getState() + " - level: " + eipStatus.getLevel() + " - is reconnecting: " + eipStatus.isReconnecting());
if (eipStatus.isConnecting() ) {
showConnectingLayout(activity);
- Log.d(TAG, "eip show connecting layout");
if (eipStatus.isReconnecting()) {
- Log.d(TAG, "eip show reconnecting toast!");
- showReconnectToast(activity);
+ //Log.d(TAG, "eip show reconnecting toast!");
+ //showReconnectToast(activity);
}
} else if (eipStatus.isConnected() ) {
mainButton.setText(activity.getString(R.string.vpn_button_turn_off));
@@ -396,7 +395,7 @@ public class EipFragment extends Fragment implements Observer {
colorBackgroundALittle();
} else if (eipStatus.isDisconnected() && reconnectingWithDifferentGateway()) {
showConnectingLayout(activity);
- showRetryToast(activity);
+ // showRetryToast(activity);
}
else {
mainButton.setText(activity.getString(R.string.vpn_button_turn_on));