Try to fix setParameters for nexus
This commit is contained in:
parent
56f09e99d9
commit
0cefa0c6b0
1 changed files with 1 additions and 1 deletions
|
@ -1188,7 +1188,7 @@ public class AudioVideoNotesPlugin extends OsmandPlugin {
|
|||
cam.setDisplayOrientation(cameraOrientation);
|
||||
parameters.set("rotation", cameraOrientation);
|
||||
if (mPreviewSize != null) {
|
||||
parameters.setPreviewSize(mPreviewSize.width, mPreviewSize.height);
|
||||
//parameters.setPreviewSize(mPreviewSize.width, mPreviewSize.height);
|
||||
}
|
||||
cam.setParameters(parameters);
|
||||
cam.setPreviewDisplay(holder);
|
||||
|
|
Loading…
Reference in a new issue