mirror of https://github.com/M66B/NetGuard.git
Cleanup
This commit is contained in:
parent
72f5d6b8cc
commit
1157ae18b8
|
@ -1267,7 +1267,6 @@ public class ActivitySettings extends AppCompatActivity implements SharedPrefere
|
||||||
xmlImport(handler.application, prefs);
|
xmlImport(handler.application, prefs);
|
||||||
xmlImport(handler.wifi, getSharedPreferences("wifi", Context.MODE_PRIVATE));
|
xmlImport(handler.wifi, getSharedPreferences("wifi", Context.MODE_PRIVATE));
|
||||||
xmlImport(handler.mobile, getSharedPreferences("other", Context.MODE_PRIVATE));
|
xmlImport(handler.mobile, getSharedPreferences("other", Context.MODE_PRIVATE));
|
||||||
xmlImport(handler.unused, getSharedPreferences("unused", Context.MODE_PRIVATE));
|
|
||||||
xmlImport(handler.screen_wifi, getSharedPreferences("screen_wifi", Context.MODE_PRIVATE));
|
xmlImport(handler.screen_wifi, getSharedPreferences("screen_wifi", Context.MODE_PRIVATE));
|
||||||
xmlImport(handler.screen_other, getSharedPreferences("screen_other", Context.MODE_PRIVATE));
|
xmlImport(handler.screen_other, getSharedPreferences("screen_other", Context.MODE_PRIVATE));
|
||||||
xmlImport(handler.roaming, getSharedPreferences("roaming", Context.MODE_PRIVATE));
|
xmlImport(handler.roaming, getSharedPreferences("roaming", Context.MODE_PRIVATE));
|
||||||
|
@ -1315,7 +1314,6 @@ public class ActivitySettings extends AppCompatActivity implements SharedPrefere
|
||||||
public Map<String, Object> application = new HashMap<>();
|
public Map<String, Object> application = new HashMap<>();
|
||||||
public Map<String, Object> wifi = new HashMap<>();
|
public Map<String, Object> wifi = new HashMap<>();
|
||||||
public Map<String, Object> mobile = new HashMap<>();
|
public Map<String, Object> mobile = new HashMap<>();
|
||||||
public Map<String, Object> unused = new HashMap<>();
|
|
||||||
public Map<String, Object> screen_wifi = new HashMap<>();
|
public Map<String, Object> screen_wifi = new HashMap<>();
|
||||||
public Map<String, Object> screen_other = new HashMap<>();
|
public Map<String, Object> screen_other = new HashMap<>();
|
||||||
public Map<String, Object> roaming = new HashMap<>();
|
public Map<String, Object> roaming = new HashMap<>();
|
||||||
|
@ -1342,9 +1340,6 @@ public class ActivitySettings extends AppCompatActivity implements SharedPrefere
|
||||||
else if (qName.equals("mobile"))
|
else if (qName.equals("mobile"))
|
||||||
current = mobile;
|
current = mobile;
|
||||||
|
|
||||||
else if (qName.equals("unused"))
|
|
||||||
current = unused;
|
|
||||||
|
|
||||||
else if (qName.equals("screen_wifi"))
|
else if (qName.equals("screen_wifi"))
|
||||||
current = screen_wifi;
|
current = screen_wifi;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue