.getBoolean(SettingsManager.SETTING_EXPOSURE_COMPENSATION_ENABLED);
if (enableExposureCompensation) {
buttonManager.initializePushButton(ButtonManager.BUTTON_EXPOSURE_COMPENSATION, null);
+ buttonManager.setExposureCompensationParameters(
+ bottomBarSpec.minExposureCompensation,
+ bottomBarSpec.maxExposureCompensation,
+ bottomBarSpec.exposureCompensationStep);
+
buttonManager.setExposureCompensationCallback(
bottomBarSpec.exposureCompensationSetCallback);
buttonManager.updateExposureButtons();
buttonManager.setExposureCompensationCallback(null);
}
- buttonManager.setExposureCompensationParameters(
- bottomBarSpec.minExposureCompensation,
- bottomBarSpec.maxExposureCompensation,
- bottomBarSpec.exposureCompensationStep);
-
/** Intent UI */
if (bottomBarSpec.showCancel) {
buttonManager.initializePushButton(ButtonManager.BUTTON_CANCEL,
return new Setting(SOURCE_DEFAULT, TYPE_BOOLEAN, defaultValue,
KEY_EXPOSURE_COMPENSATION_ENABLED, values, FLUSH_OFF);
}
+
public static Setting getPictureSizeBackSetting(Context context) {
String defaultValue = null;
String[] values = null;