Commit 9cb54d0c authored by Toni Beier's avatar Toni Beier

Perform eduroam writable check if app resumes running

parent f0556bf3
Pipeline #22952 passed with stages
in 4 minutes and 34 seconds
...@@ -873,4 +873,7 @@ class Helper { ...@@ -873,4 +873,7 @@ class Helper {
return (lastHasInternet = false); return (lastHasInternet = false);
} }
public static void resetIsEduroamWifiWriteable() {
IS_EDUROAM_WIFI_WRITABLE.set(false);
}
} }
...@@ -142,6 +142,8 @@ public class MainActivity extends AppCompatActivity { ...@@ -142,6 +142,8 @@ public class MainActivity extends AppCompatActivity {
protected void onResume() { protected void onResume() {
super.onResume(); super.onResume();
Helper.resetIsEduroamWifiWriteable();
recomputeLayout(); recomputeLayout();
IntentFilter networkChangeRecieverIntentFilter = new IntentFilter(); IntentFilter networkChangeRecieverIntentFilter = new IntentFilter();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment