mirror of
https://github.com/FossifyOrg/Camera.git
synced 2026-06-12 18:17:28 -04:00
adding some checks to Kitkat SD card permission handling
This commit is contained in:
@@ -87,4 +87,12 @@ public class Config {
|
||||
public void setLastFlashlightState(boolean enabled) {
|
||||
mPrefs.edit().putBoolean(Constants.LAST_FLASHLIGHT_STATE, enabled).apply();
|
||||
}
|
||||
|
||||
public String getTreeUri() {
|
||||
return mPrefs.getString(Constants.TREE_URI, "");
|
||||
}
|
||||
|
||||
public void setTreeUri(String uri) {
|
||||
mPrefs.edit().putString(Constants.TREE_URI, uri).apply();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user