mirror of
https://github.com/FossifyOrg/Camera.git
synced 2026-06-12 18:17:28 -04:00
add a Setting for forcing 16:9 ratio
This commit is contained in:
@@ -29,4 +29,12 @@ public class Config {
|
||||
public void setFocusBeforeCaptureEnabled(boolean enabled) {
|
||||
mPrefs.edit().putBoolean(Constants.FOCUS_BEFORE_CAPTURE, enabled).apply();
|
||||
}
|
||||
|
||||
public boolean getForceRatioEnabled() {
|
||||
return mPrefs.getBoolean(Constants.FORCE_RATIO, true);
|
||||
}
|
||||
|
||||
public void setForceRatioEnabled(boolean enabled) {
|
||||
mPrefs.edit().putBoolean(Constants.FORCE_RATIO, enabled).apply();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user