diff options
author | Parménides GV <parmegv@sdf.org> | 2014-03-24 20:36:08 +0100 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2014-04-02 15:39:51 +0200 |
commit | 6cb654d169c62653d652009d3c8de51ca877e38b (patch) | |
tree | 74281f2d3085639bc047801f1dfc53214743594e /src/se/leap/bitmaskclient/EipServiceFragment.java | |
parent | 1790250865f8c017745591f4d35823d33d62047f (diff) |
eip switch off && logged in != autostart eip
Diffstat (limited to 'src/se/leap/bitmaskclient/EipServiceFragment.java')
-rw-r--r-- | src/se/leap/bitmaskclient/EipServiceFragment.java | 6 |
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(); + } } |