From 2c231c3fae58fa22935342aef774e0be51480019 Mon Sep 17 00:00:00 2001 From: KillerInk Date: Sun, 26 Aug 2018 17:08:25 +0200 Subject: [PATCH] create focusvalues on mtk soc #53 --- .../apis/featuredetector/Camera1FeatureDetectorTask.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/freed/cam/apis/featuredetector/Camera1FeatureDetectorTask.java b/app/src/main/java/freed/cam/apis/featuredetector/Camera1FeatureDetectorTask.java index 1a0423a77..df78b4eab 100644 --- a/app/src/main/java/freed/cam/apis/featuredetector/Camera1FeatureDetectorTask.java +++ b/app/src/main/java/freed/cam/apis/featuredetector/Camera1FeatureDetectorTask.java @@ -989,10 +989,11 @@ private void detectManualFocus(Camera.Parameters parameters) { Log.WriteEx(ex); SettingsManager.get(SettingKeys.M_Focus).setIsSupported(false); } - //create mf values - if (SettingsManager.get(SettingKeys.M_Focus).isSupported()) - SettingsManager.get(SettingKeys.M_Focus).setValues(createManualFocusValues(min, max,step)); + } + //create mf values + if (SettingsManager.get(SettingKeys.M_Focus).isSupported()) + SettingsManager.get(SettingKeys.M_Focus).setValues(createManualFocusValues(min, max,step)); }