Skip to content

Commit

Permalink
Minor bug fix where profiles are not getting saved
Browse files Browse the repository at this point in the history
  • Loading branch information
ukanth committed Sep 25, 2015
1 parent d829bdf commit 0e323c1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
Changelog AFWall+
==================

Version 2.1.0-BETA

Version 2.1.0
* Rules not saving on some devices
* Revert Filter from dropdown to radio (UI)
* Kingo superuser issue
* Menu key doesn't work(UI)
* User reported crashes and bug fixes
* lock pattern improvements(UI)
* Additional checks for system busybox
* Log service process leak fix.
* Widget alignment issue on some devices
* Fix F-Droid builds using NDK-r10e


Version 2.0.0

* Initial Material design
* Support for 5.x Lollipop
* Revamped UI(pull to refresh),Preferences and Icons
Expand Down
2 changes: 1 addition & 1 deletion aFWall/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ android {
//applicationId "dev.ukanth.ufirewall.donate"
minSdkVersion 15
targetSdkVersion 22
versionCode 15212
versionCode 15213
versionName "2.1.0"
}

Expand Down
4 changes: 1 addition & 3 deletions aFWall/src/main/java/dev/ukanth/ufirewall/Api.java
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,6 @@ public static void saveRules(Context ctx) {
final StringBuilder newpkg_lan = new StringBuilder();

for (int i=0; i<apps.size(); i++) {
if(apps.get(i) != null) {
if (apps.get(i).selected_wifi) {
if (newpkg_wifi.length() != 0) newpkg_wifi.append('|');
newpkg_wifi.append(apps.get(i).uid);
Expand All @@ -881,10 +880,9 @@ public static void saveRules(Context ctx) {
if (newpkg_lan.length() != 0) newpkg_lan.append('|');
newpkg_lan.append(apps.get(i).uid);
}
}
}
// save the new list of UIDs
final Editor edit = prefs.edit();
Editor edit = prefs.edit();
edit.putString(PREF_WIFI_PKG_UIDS, newpkg_wifi.toString());
edit.putString(PREF_3G_PKG_UIDS, newpkg_3g.toString());
edit.putString(PREF_ROAMING_PKG_UIDS, newpkg_roam.toString());
Expand Down

0 comments on commit 0e323c1

Please sign in to comment.