支持缩放变焦
This commit is contained in:
@@ -158,6 +158,10 @@ final class CameraConfigurationManager {
|
||||
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
|
||||
if(parameters.isZoomSupported()){
|
||||
parameters.setZoom(parameters.getMaxZoom() / 10);
|
||||
}
|
||||
|
||||
theCamera.setDisplayOrientation(90);
|
||||
theCamera.setParameters(parameters);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user