diff --git a/ClickResponseOptimization/build-profile.json5 b/ClickResponseOptimization/build-profile.json5 index e3f23944b09c2da947e212a80f49f0e5e8039ba1..c033ce4278fb0641d84107c3c134047ac487368e 100644 --- a/ClickResponseOptimization/build-profile.json5 +++ b/ClickResponseOptimization/build-profile.json5 @@ -5,7 +5,6 @@ { "name": "default", "signingConfig": "default", - "compileSdkVersion": "5.0.0(12)", "compatibleSdkVersion": "5.0.0(12)", "runtimeOS": "HarmonyOS", } diff --git a/ImageEditTaskPool/entry/src/main/ets/entryability/EntryAbility.ets b/ImageEditTaskPool/entry/src/main/ets/entryability/EntryAbility.ets index 75e3ec3417c7366f020f22b4db8a17b3d200d8ec..9f359c02aa6640a4b3ccb71b1bdeb237025f1abd 100644 --- a/ImageEditTaskPool/entry/src/main/ets/entryability/EntryAbility.ets +++ b/ImageEditTaskPool/entry/src/main/ets/entryability/EntryAbility.ets @@ -62,12 +62,6 @@ export default class EntryAbility extends UIAbility { `Failed to set the system bar properties. Cause code: ${err.code}, message: ${err.message}`); }); - const uiContext = windowClass.getUIContext(); - let navigationBarArea: window.AvoidArea = - windowClass.getWindowAvoidArea(window.AvoidAreaType.TYPE_NAVIGATION_INDICATOR); - let area: window.AvoidArea = windowClass.getWindowAvoidArea(window.AvoidAreaType.TYPE_SYSTEM); - AppStorage.setOrCreate('naviIndicatorHeight', uiContext.px2vp(navigationBarArea.bottomRect.height)); - AppStorage.setOrCreate('statusBarHeight', uiContext.px2vp(area.topRect.height)); windowStage.loadContent('pages/HomePage', (err, data) => { if (err.code) { @@ -75,6 +69,12 @@ export default class EntryAbility extends UIAbility { JSON.stringify(err) ?? ''); return; } + const uiContext = windowClass.getUIContext(); + let navigationBarArea: window.AvoidArea = + windowClass.getWindowAvoidArea(window.AvoidAreaType.TYPE_NAVIGATION_INDICATOR); + let area: window.AvoidArea = windowClass.getWindowAvoidArea(window.AvoidAreaType.TYPE_SYSTEM); + AppStorage.setOrCreate('naviIndicatorHeight', uiContext.px2vp(navigationBarArea.bottomRect.height)); + AppStorage.setOrCreate('statusBarHeight', uiContext.px2vp(area.topRect.height)); hilog.info(0x0000, TAG, 'Succeeded in loading the content. Data: %{public}s', JSON.stringify(data) ?? ''); }); diff --git a/ImageWhiteLumpSolution/UseImageHttpRequest/entry/src/main/module.json5 b/ImageWhiteLumpSolution/UseImageHttpRequest/entry/src/main/module.json5 index 3b1635a6803cee1cb44c80ae97e9014e14f57163..780cd1453509b494012c038c7fa09e98bff61c1e 100644 --- a/ImageWhiteLumpSolution/UseImageHttpRequest/entry/src/main/module.json5 +++ b/ImageWhiteLumpSolution/UseImageHttpRequest/entry/src/main/module.json5 @@ -38,7 +38,7 @@ "extensionAbilities": [ { "name": "EntryBackupAbility", - "srcEntry": "./ets/entrybackupability/EntryBackupAbility.ets", + "srcEntry": "./ets/entryability/EntryAbility.ets", "type": "backup", "exported": false, "metadata": [ diff --git a/ImageWhiteLumpSolution/UseImageHttpRequest/entry/src/main/resources/base/profile/main_pages.json b/ImageWhiteLumpSolution/UseImageHttpRequest/entry/src/main/resources/base/profile/main_pages.json index 1898d94f58d6128ab712be2c68acc7c98e9ab9ce..58d2dc4a0db114f2a346f95ccc93271772dfc210 100644 --- a/ImageWhiteLumpSolution/UseImageHttpRequest/entry/src/main/resources/base/profile/main_pages.json +++ b/ImageWhiteLumpSolution/UseImageHttpRequest/entry/src/main/resources/base/profile/main_pages.json @@ -1,5 +1,6 @@ { "src": [ - "pages/Index" + "pages/PageOne", + "pages/MainPage" ] } diff --git a/MemoryDetection/AppScope/app.json5 b/MemoryDetection/AppScope/app.json5 index f55ebf3b74153db826890578965cb608c1d4afd3..c8ae061be0819e101f3106972faf252931aead06 100644 --- a/MemoryDetection/AppScope/app.json5 +++ b/MemoryDetection/AppScope/app.json5 @@ -22,7 +22,7 @@ * 场景四:DevEco Studio场景 */ // [Start asan_enabled] - "asanEnabled": true, + "asanEnabled": false, // [End asan_enabled] /** * 最佳实践:使用HWAsan检测内存错误