summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFup Duck <fupduck@sacknagel.com>2018-01-13 17:34:18 +0100
committerFup Duck <fupduck@sacknagel.com>2018-01-13 17:34:18 +0100
commit1ca4a7c9c4f10f60adb2554e87d51fff99f8a2b2 (patch)
treeec6219ab79791c5b6252897d002ffba480bbe6eb
parent1e6e2190befc6c83874152a97a550c765c121e14 (diff)
use variable instead of function
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/VpnFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/VpnFragment.java b/app/src/main/java/se/leap/bitmaskclient/VpnFragment.java
index 8ea891cc..6dab1b27 100644
--- a/app/src/main/java/se/leap/bitmaskclient/VpnFragment.java
+++ b/app/src/main/java/se/leap/bitmaskclient/VpnFragment.java
@@ -306,7 +306,7 @@ public class VpnFragment extends Fragment implements Observer {
eipStatus = (EipStatus) observable;
Activity activity = getActivity();
if (activity != null) {
- getActivity().runOnUiThread(new Runnable() {
+ activity.runOnUiThread(new Runnable() {
@Override
public void run() {
handleNewState();