Skip to content

Commit 8ed049c

Browse files
committed
ensure to save settings right now.
1 parent 40a0b60 commit 8ed049c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cSploit/src/org/csploit/android/plugins/PortScanner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ private void saveCustomParameters(boolean displayed) {
116116
SharedPreferences.Editor edit = mPreferences.edit();
117117
edit.putBoolean(CUSTOM_PARAMETERS, displayed);
118118
edit.putString(CUSTOM_PARAMETERS_TEXT, mTextParameters.getText().toString());
119-
edit.apply();
119+
edit.commit();
120120
}
121121

122122
private void setStoppedState() {

0 commit comments

Comments
 (0)