Skip to content

Commit 4d45429

Browse files
committed
Fix typo
1 parent e16376e commit 4d45429

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/com/noshufou/android/su/HomeActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ protected void onCreate(Bundle savedInstanceState) {
9595
ChangeLog cl = new ChangeLog(this);
9696
if (cl.firstRun()) {
9797
cl.getLogDialog().show();
98-
Util.writeDetaultStoreFile(this);
98+
Util.writeDefaultStoreFile(this);
9999
}
100100

101101
// Check for root enabled on CyanogenMod 9

src/com/noshufou/android/su/preferences/PreferencesActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ public void onSharedPreferenceChanged(SharedPreferences sharedPreferences,
284284
mToastLocation.setEnabled(sharedPreferences
285285
.getString(Preferences.NOTIFICATION_TYPE, "toast").equals("toast"));
286286
} else if (key.equals(Preferences.AUTOMATIC_ACTION)) {
287-
Util.writeDetaultStoreFile(this);
287+
Util.writeDefaultStoreFile(this);
288288
}
289289
}
290290

src/com/noshufou/android/su/preferences/PreferencesFragment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, Strin
246246
} else if (key.equals(Preferences.PIN)) {
247247
setDepsNfc(sharedPreferences.getBoolean(Preferences.PIN, false));
248248
} else if (key.equals(Preferences.AUTOMATIC_ACTION)) {
249-
Util.writeDetaultStoreFile(getActivity());
249+
Util.writeDefaultStoreFile(getActivity());
250250
}
251251
}
252252

src/com/noshufou/android/su/util/Util.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ public static boolean writeStoreFile(Context context, int uid, int execUid, Stri
811811
return true;
812812
}
813813

814-
public static boolean writeDetaultStoreFile(Context context) {
814+
public static boolean writeDefaultStoreFile(Context context) {
815815
File storedDir = new File(context.getFilesDir().getAbsolutePath() + File.separator + "stored");
816816
storedDir.mkdirs();
817817
File defFile = new File(storedDir.getAbsolutePath() + File.separator + "default");

0 commit comments

Comments
 (0)