修改自动捕捉

This commit is contained in:
2022-12-15 14:59:34 +08:00
parent 00b8dc27d1
commit 60bc4a2569
2 changed files with 6 additions and 3 deletions

View File

@@ -1431,7 +1431,10 @@ public class AutoTakePictureActivity extends BaseActivity implements View.OnClic
* 开始记录位置信息
* */
private void startRecordLocation() {
handler.sendEmptyMessage(0x101);
// 只有以前不记录照片,此刻才需要发送新的消息开始拍摄
if (!handler.hasMessages(0x101)) {
handler.sendEmptyMessage(0x101);
}
}
/**
* 停止记录位置信息