Skip to content

Commit

Permalink
fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
Fry-kun authored Nov 2, 2024
1 parent 239c924 commit e758974
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/src/main/java/dev/ukanth/ufirewall/Api.java
Original file line number Diff line number Diff line change
Expand Up @@ -2332,8 +2332,8 @@ public static void exportAllPreferencesToFileConfirm(final Context ctx) {
}
}

private static void updateExportPackage(Map<String, JSONObject> exportMap, String packageName, boolean isCheckded, int identifier) throws JSONException {
if (!isCheckded) {
private static void updateExportPackage(Map<String, JSONObject> exportMap, String packageName, boolean isChecked, int identifier) throws JSONException {
if (!isChecked) {
return;
}
JSONObject obj;
Expand All @@ -2355,7 +2355,7 @@ private static void updatePackage(Context ctx, String savedPkg_uid, Map<String,
String uid = tok.nextToken();
if (!uid.isEmpty()) {
String packageName = ctx.getPackageManager().getNameForUid(Integer.parseInt(uid));
updateExportPackage(exportMap, packageName, true, identifier);
updateExportPackage(exportMap, packageName, /*is_checked=*/ true, identifier);
}
}
}
Expand Down

0 comments on commit e758974

Please sign in to comment.