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