add a switch for storing the media in DCIM by default

This commit is contained in:
tibbi
2016-08-29 15:06:54 +02:00
parent 1447c4fb8f
commit 2ec05220f4
9 changed files with 52 additions and 0 deletions

View File

@@ -30,6 +30,14 @@ public class Config {
mPrefs.edit().putBoolean(Constants.IS_DARK_THEME, isDarkTheme).apply();
}
public boolean getUseDCIMFolder() {
return mPrefs.getBoolean(Constants.USE_DCIM, true);
}
public void setUseDCIMFolder(boolean useDCIM) {
mPrefs.edit().putBoolean(Constants.USE_DCIM, useDCIM).apply();
}
public boolean getFocusBeforeCaptureEnabled() {
return mPrefs.getBoolean(Constants.FOCUS_BEFORE_CAPTURE, false);
}