修改自动捕捉

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

View File

@ -12,8 +12,8 @@ android {
applicationId "com.navinfo.outdoor"
minSdkVersion 23
targetSdkVersion 30
versionCode 37
versionName "8.221213"
versionCode 38
versionName "8.221214"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
lintOptions {

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);
}
}
/**
* 停止记录位置信息