fix: 修改POI录像没有竖向拍摄检查的问题
This commit is contained in:
@@ -522,11 +522,11 @@ public class AutoTakePicture4PoiVideoActivity extends BaseActivity implements Vi
|
|||||||
super.onPictureTaken(result);
|
super.onPictureTaken(result);
|
||||||
System.out.println("收到拍照按钮jieguo:"+result.getSize().toString());
|
System.out.println("收到拍照按钮jieguo:"+result.getSize().toString());
|
||||||
// poi录像不强制要求必须为横向拍照
|
// poi录像不强制要求必须为横向拍照
|
||||||
// if (Objects.requireNonNull(camera.getSnapshotSize()).getWidth() < camera.getSnapshotSize().getHeight()) {
|
if (Objects.requireNonNull(camera.getSnapshotSize()).getWidth() < camera.getSnapshotSize().getHeight()) {
|
||||||
// ToastUtils.Message(AutoTakePicture4PoiVideoActivity.this, "不允许竖向拍摄...");
|
ToastUtils.Message(AutoTakePicture4PoiVideoActivity.this, "不允许竖向拍摄...");
|
||||||
// systemTTS.playText("不允许竖向拍摄");
|
systemTTS.playText("不允许竖向拍摄");
|
||||||
// return;
|
return;
|
||||||
// }
|
}
|
||||||
|
|
||||||
File tmpPicFolder = new File(tmpPicFoldPath);
|
File tmpPicFolder = new File(tmpPicFoldPath);
|
||||||
if (!tmpPicFolder.exists()) {
|
if (!tmpPicFolder.exists()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user