Skip to content

Commit

Permalink
create focusvalues on mtk soc #53
Browse files Browse the repository at this point in the history
  • Loading branch information
KillerInk committed Aug 26, 2018
1 parent 81b07a5 commit 2c231c3
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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));

}

Expand Down

0 comments on commit 2c231c3

Please sign in to comment.