summaryrefslogtreecommitdiff
path: root/src/se/leap/bitmaskclient/EipServiceFragment.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/se/leap/bitmaskclient/EipServiceFragment.java')
-rw-r--r--src/se/leap/bitmaskclient/EipServiceFragment.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/se/leap/bitmaskclient/EipServiceFragment.java b/src/se/leap/bitmaskclient/EipServiceFragment.java
index 318e4024..bae1b942 100644
--- a/src/se/leap/bitmaskclient/EipServiceFragment.java
+++ b/src/se/leap/bitmaskclient/EipServiceFragment.java
@@ -29,7 +29,7 @@ public class EipServiceFragment extends Fragment implements StateListener, OnChe
private static final String IS_EIP_PENDING = "is_eip_pending";
private View eipFragment;
- private Switch eipSwitch;
+ private static Switch eipSwitch;
private View eipDetail;
private TextView eipStatus;
@@ -278,4 +278,8 @@ public class EipServiceFragment extends Fragment implements StateListener, OnChe
public static EIPReceiver getReceiver() {
return mEIPReceiver;
}
+
+ public static boolean isEipSwitchChecked() {
+ return eipSwitch.isChecked();
+ }
}