|
@@ -38,6 +38,7 @@ import { smartMobilityCommon } from '@kit.CarKit';
|
|
|
import { UpdateLogManager } from '../common/util/UpdateLogManager';
|
|
import { UpdateLogManager } from '../common/util/UpdateLogManager';
|
|
|
import OnlineUpdateLogDialog from '../dialog/OnlineUpdateLog';
|
|
import OnlineUpdateLogDialog from '../dialog/OnlineUpdateLog';
|
|
|
import OnlineUpdateLog from '../dialog/OnlineUpdateLog';
|
|
import OnlineUpdateLog from '../dialog/OnlineUpdateLog';
|
|
|
|
|
+// import { FFmpeg, FFProgressMessageParser } from '@sj/ffmpeg';
|
|
|
|
|
|
|
|
const TAG = 'NewIndex'; // 日志标签
|
|
const TAG = 'NewIndex'; // 日志标签
|
|
|
|
|
|
|
@@ -253,6 +254,7 @@ struct NewIndex {
|
|
|
const shouldShow = await UpdateLogManager.checkAndShowUpdateLog();
|
|
const shouldShow = await UpdateLogManager.checkAndShowUpdateLog();
|
|
|
if (shouldShow) {
|
|
if (shouldShow) {
|
|
|
this.isShowUpdateDialog = !this.isShowUpdateDialog
|
|
this.isShowUpdateDialog = !this.isShowUpdateDialog
|
|
|
|
|
+ UpdateLogManager.markCurrentVersionShown()
|
|
|
}
|
|
}
|
|
|
} catch (error) {
|
|
} catch (error) {
|
|
|
console.error('NewIndex checkAndShowUpdateLog error:', error);
|
|
console.error('NewIndex checkAndShowUpdateLog error:', error);
|
|
@@ -330,6 +332,8 @@ struct NewIndex {
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
//是不是hicar的屏幕分辨率
|
|
//是不是hicar的屏幕分辨率
|
|
|
isHiCar() {
|
|
isHiCar() {
|
|
|
const hiCarAspectRatios: HiCarAspectRatio[] = [
|
|
const hiCarAspectRatios: HiCarAspectRatio[] = [
|