diff --git a/aafwk/aafwk_standard/fa/BUILD.gn b/aafwk/aafwk_standard/fa/BUILD.gn index f75ceef5a8bad76dae0eb4baf6e2884c612ae364..3d14825fe73e61e3bfc2377c9cbf8b03dcb7c0c4 100644 --- a/aafwk/aafwk_standard/fa/BUILD.gn +++ b/aafwk/aafwk_standard/fa/BUILD.gn @@ -17,10 +17,8 @@ group("fa") { testonly = true if (is_standard_system) { deps = [ - "faapplicationinfo:ActsApplicationinfoTest", "faconfigurationconstant:ActsConfigurationconstantTest", "facoverapi:ActsCoverapiTest", - "faequeryabilitybywant:ActsEqueryabilitybywantTest", ] } } diff --git a/aafwk/aafwk_standard/fa/faapplicationinfo/BUILD.gn b/aafwk/aafwk_standard/fa/faapplicationinfo/BUILD.gn index 4d0ad9b2a0737a0ab3dec91d1a607d18087f233c..c155834b345692a909d4c663e81d8c0125871f0c 100644 --- a/aafwk/aafwk_standard/fa/faapplicationinfo/BUILD.gn +++ b/aafwk/aafwk_standard/fa/faapplicationinfo/BUILD.gn @@ -25,7 +25,6 @@ ohos_js_hap_suite("ActsApplicationinfoTest") { ohos_js_assets("hjs_demo_js_assets") { source_dir = "./entry/src/main/js" hap_profile = "entry/src/main/config.json" - js2abc = true } ohos_resources("hjs_demo_resources") { sources = [ "./entry/src/main/js/resources" ] diff --git a/aafwk/aafwk_standard/fa/faapplicationinfo/entry/src/main/js/MainAbility2/pages/index/index.js b/aafwk/aafwk_standard/fa/faapplicationinfo/entry/src/main/js/MainAbility2/pages/index/index.js index 1451704d801b1d4339a286ca5c9e0779c64113a5..f3fd01a5e589fb3dabd56508f3b66b5b0dbfd90e 100644 --- a/aafwk/aafwk_standard/fa/faapplicationinfo/entry/src/main/js/MainAbility2/pages/index/index.js +++ b/aafwk/aafwk_standard/fa/faapplicationinfo/entry/src/main/js/MainAbility2/pages/index/index.js @@ -40,20 +40,24 @@ export default { featureAbility.getWant( (err, data) => { if (data.uri == '{true,true,false}'){ - console.info("SUB_AA_OpenHarmony_Want_0200_StartAbility" + JSON.stringify(data) + JSON.stringify(err)); + console.info("SUB_AA_OpenHarmony_Want_0200_StartAbility" + JSON + .stringify(data) + JSON.stringify(err)); event = data.uri commonEventPublishData = { data: event, } - commonEvent.publish('SUB_AA_OpenHarmony_Want_0200_CommonEvent', commonEventPublishData, PublishCallBackOne); + commonEvent.publish('SUB_AA_OpenHarmony_Want_0200_CommonEvent', + commonEventPublishData, PublishCallBackOne); } if (data.type == 'MIMETYPE'){ - console.info("SUB_AA_OpenHarmony_Want_0300_StartAbility" + JSON.stringify(data) + JSON.stringify(err)); + console.info("SUB_AA_OpenHarmony_Want_0300_StartAbility" + JSON + .stringify(data) + JSON.stringify(err)); event = data.type commonEventPublishData = { data: event, } - commonEvent.publish('SUB_AA_OpenHarmony_Want_0300_CommonEvent', commonEventPublishData, PublishCallBackTwo); + commonEvent.publish('SUB_AA_OpenHarmony_Want_0300_CommonEvent', + commonEventPublishData, PublishCallBackTwo); } } @@ -62,6 +66,4 @@ export default { onReady() { console.info('ApplicationInfo MainAbility2 onReady'); }, -} - - +} \ No newline at end of file