From baf81d61f58e02ed866e9b224552fb22b0e7da3b Mon Sep 17 00:00:00 2001 From: chengxingzhen Date: Thu, 26 May 2022 21:24:49 +0800 Subject: [PATCH] Modify codeCheck Signed-off-by: chengxingzhen --- .../main/ets/MainAbility/pages/FormViewModel.ets | 15 +++++++++++++++ .../src/main/ets/MainAbility/pages/index.ets | 15 +++++++++++++++ .../main/ets/MainAbility/pages/FormViewModel.ets | 15 +++++++++++++++ .../src/main/ets/MainAbility/pages/index.ets | 15 +++++++++++++++ .../main/ets/MainAbility/pages/FormViewModel.ets | 15 +++++++++++++++ .../src/main/ets/MainAbility/pages/index.ets | 15 +++++++++++++++ .../src/main/ets/MainAbility/pages/index.ets | 15 +++++++++++++++ .../main/ets/MainAbility/pages/FormViewModel.ets | 15 +++++++++++++++ .../src/main/ets/MainAbility/pages/index.ets | 15 +++++++++++++++ .../src/main/ets/MainAbility/pages/index.ets | 15 +++++++++++++++ .../src/main/ets/MainAbility/pages/index.ets | 15 +++++++++++++++ .../entry/src/main/ets/MainAbility/app.ets | 15 +++++++++++++++ .../src/main/ets/MainAbility/pages/index.ets | 15 +++++++++++++++ .../src/main/ets/MainAbility/pages/second.ets | 15 +++++++++++++++ .../main/ets/MainAbility/model/FormViewModel.ets | 15 +++++++++++++++ .../main/ets/MainAbility/model/FormViewModel.ets | 15 +++++++++++++++ .../main/ets/MainAbility/model/FormViewModel.ets | 15 +++++++++++++++ .../main/ets/MainAbility/model/FormViewModel.ets | 15 +++++++++++++++ .../main/ets/MainAbility/model/FormViewModel.ets | 15 +++++++++++++++ 19 files changed, 285 insertions(+) diff --git a/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostc/entry/src/main/ets/MainAbility/pages/FormViewModel.ets b/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostc/entry/src/main/ets/MainAbility/pages/FormViewModel.ets index e8f9941e7..9b0922507 100644 --- a/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostc/entry/src/main/ets/MainAbility/pages/FormViewModel.ets +++ b/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostc/entry/src/main/ets/MainAbility/pages/FormViewModel.ets @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import formManager from '@ohos.ability.formmanager'; import bundleManager from '@ohos.bundle'; import abilityManager from '@ohos.app.abilityManager'; diff --git a/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostc/entry/src/main/ets/MainAbility/pages/index.ets b/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostc/entry/src/main/ets/MainAbility/pages/index.ets index d43003709..f0b0084f4 100644 --- a/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostc/entry/src/main/ets/MainAbility/pages/index.ets +++ b/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostc/entry/src/main/ets/MainAbility/pages/index.ets @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import FormViewModel from './FormViewModel.ets'; import router from '@system.router'; import featureAbility from "@ohos.ability.featureAbility"; diff --git a/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostf/entry/src/main/ets/MainAbility/pages/FormViewModel.ets b/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostf/entry/src/main/ets/MainAbility/pages/FormViewModel.ets index e8f9941e7..9b0922507 100644 --- a/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostf/entry/src/main/ets/MainAbility/pages/FormViewModel.ets +++ b/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostf/entry/src/main/ets/MainAbility/pages/FormViewModel.ets @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import formManager from '@ohos.ability.formmanager'; import bundleManager from '@ohos.bundle'; import abilityManager from '@ohos.app.abilityManager'; diff --git a/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostf/entry/src/main/ets/MainAbility/pages/index.ets b/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostf/entry/src/main/ets/MainAbility/pages/index.ets index fbf5dc862..d9b8ad574 100644 --- a/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostf/entry/src/main/ets/MainAbility/pages/index.ets +++ b/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostf/entry/src/main/ets/MainAbility/pages/index.ets @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import FormViewModel from './FormViewModel.ets'; import router from '@system.router'; import featureAbility from '@ohos.ability.featureAbility'; diff --git a/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostg/entry/src/main/ets/MainAbility/pages/FormViewModel.ets b/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostg/entry/src/main/ets/MainAbility/pages/FormViewModel.ets index e8f9941e7..9b0922507 100644 --- a/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostg/entry/src/main/ets/MainAbility/pages/FormViewModel.ets +++ b/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostg/entry/src/main/ets/MainAbility/pages/FormViewModel.ets @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import formManager from '@ohos.ability.formmanager'; import bundleManager from '@ohos.bundle'; import abilityManager from '@ohos.app.abilityManager'; diff --git a/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostg/entry/src/main/ets/MainAbility/pages/index.ets b/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostg/entry/src/main/ets/MainAbility/pages/index.ets index 81309ace3..792ce4118 100644 --- a/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostg/entry/src/main/ets/MainAbility/pages/index.ets +++ b/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostg/entry/src/main/ets/MainAbility/pages/index.ets @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import FormViewModel from './FormViewModel.ets'; import router from '@system.router'; import featureAbility from "@ohos.ability.featureAbility"; diff --git a/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostn/entry/src/main/ets/MainAbility/pages/index.ets b/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostn/entry/src/main/ets/MainAbility/pages/index.ets index a012c99da..de99d63cc 100644 --- a/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostn/entry/src/main/ets/MainAbility/pages/index.ets +++ b/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostn/entry/src/main/ets/MainAbility/pages/index.ets @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import featureAbility from "@ohos.ability.featureAbility"; import formManager from '@ohos.application.formHost'; import commonEvent from '@ohos.commonEvent'; diff --git a/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostnoperm/entry/src/main/ets/MainAbility/pages/FormViewModel.ets b/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostnoperm/entry/src/main/ets/MainAbility/pages/FormViewModel.ets index e8f9941e7..9b0922507 100644 --- a/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostnoperm/entry/src/main/ets/MainAbility/pages/FormViewModel.ets +++ b/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostnoperm/entry/src/main/ets/MainAbility/pages/FormViewModel.ets @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import formManager from '@ohos.ability.formmanager'; import bundleManager from '@ohos.bundle'; import abilityManager from '@ohos.app.abilityManager'; diff --git a/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostnoperm/entry/src/main/ets/MainAbility/pages/index.ets b/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostnoperm/entry/src/main/ets/MainAbility/pages/index.ets index a8a2da525..e3b5aa059 100644 --- a/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostnoperm/entry/src/main/ets/MainAbility/pages/index.ets +++ b/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostnoperm/entry/src/main/ets/MainAbility/pages/index.ets @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import FormViewModel from './FormViewModel.ets'; import router from '@system.router'; import featureAbility from "@ohos.ability.featureAbility"; diff --git a/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhosto/entry/src/main/ets/MainAbility/pages/index.ets b/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhosto/entry/src/main/ets/MainAbility/pages/index.ets index 6fd77296e..93da5a98a 100644 --- a/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhosto/entry/src/main/ets/MainAbility/pages/index.ets +++ b/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhosto/entry/src/main/ets/MainAbility/pages/index.ets @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import featureAbility from "@ohos.ability.featureAbility"; import formManager from '@ohos.application.formHost'; import commonEvent from '@ohos.commonEvent'; diff --git a/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostp/entry/src/main/ets/MainAbility/pages/index.ets b/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostp/entry/src/main/ets/MainAbility/pages/index.ets index 9a7cc8248..dfb47a149 100644 --- a/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostp/entry/src/main/ets/MainAbility/pages/index.ets +++ b/aafwk/aafwk_standard/formmanager/formhostst_ets/formsystemhostp/entry/src/main/ets/MainAbility/pages/index.ets @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import featureAbility from "@ohos.ability.featureAbility"; import formManager from '@ohos.application.formHost'; import commonEvent from '@ohos.commonEvent'; diff --git a/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsupplyapplicationH/entry/src/main/ets/MainAbility/app.ets b/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsupplyapplicationH/entry/src/main/ets/MainAbility/app.ets index b7a0995c8..118b21a9e 100644 --- a/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsupplyapplicationH/entry/src/main/ets/MainAbility/app.ets +++ b/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsupplyapplicationH/entry/src/main/ets/MainAbility/app.ets @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + export default { onCreate() { console.info('Application onCreate') diff --git a/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsupplyapplicationH/entry/src/main/ets/MainAbility/pages/index.ets b/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsupplyapplicationH/entry/src/main/ets/MainAbility/pages/index.ets index 7ccaa90c4..41d8e5a68 100644 --- a/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsupplyapplicationH/entry/src/main/ets/MainAbility/pages/index.ets +++ b/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsupplyapplicationH/entry/src/main/ets/MainAbility/pages/index.ets @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import router from '@system.router'; async function routePage() { diff --git a/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsupplyapplicationH/entry/src/main/ets/MainAbility/pages/second.ets b/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsupplyapplicationH/entry/src/main/ets/MainAbility/pages/second.ets index 4d58355c7..89533226e 100644 --- a/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsupplyapplicationH/entry/src/main/ets/MainAbility/pages/second.ets +++ b/aafwk/aafwk_standard/formmanager/formproviderst_ets/formsupplyapplicationH/entry/src/main/ets/MainAbility/pages/second.ets @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import router from '@system.router'; @Entry diff --git a/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formstatetest_disable/entry/src/main/ets/MainAbility/model/FormViewModel.ets b/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formstatetest_disable/entry/src/main/ets/MainAbility/model/FormViewModel.ets index 4eea97e41..462affde7 100644 --- a/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formstatetest_disable/entry/src/main/ets/MainAbility/model/FormViewModel.ets +++ b/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formstatetest_disable/entry/src/main/ets/MainAbility/model/FormViewModel.ets @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import formManager from '@ohos.ability.formmanager'; import bundleManager from '@ohos.bundle'; diff --git a/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formstatetest_enable/entry/src/main/ets/MainAbility/model/FormViewModel.ets b/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formstatetest_enable/entry/src/main/ets/MainAbility/model/FormViewModel.ets index 4eea97e41..462affde7 100644 --- a/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formstatetest_enable/entry/src/main/ets/MainAbility/model/FormViewModel.ets +++ b/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formstatetest_enable/entry/src/main/ets/MainAbility/model/FormViewModel.ets @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import formManager from '@ohos.ability.formmanager'; import bundleManager from '@ohos.bundle'; diff --git a/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formstatetest_notifyinvisible/entry/src/main/ets/MainAbility/model/FormViewModel.ets b/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formstatetest_notifyinvisible/entry/src/main/ets/MainAbility/model/FormViewModel.ets index 4eea97e41..462affde7 100644 --- a/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formstatetest_notifyinvisible/entry/src/main/ets/MainAbility/model/FormViewModel.ets +++ b/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formstatetest_notifyinvisible/entry/src/main/ets/MainAbility/model/FormViewModel.ets @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import formManager from '@ohos.ability.formmanager'; import bundleManager from '@ohos.bundle'; diff --git a/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formstatetest_notifyinvisible2/entry/src/main/ets/MainAbility/model/FormViewModel.ets b/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formstatetest_notifyinvisible2/entry/src/main/ets/MainAbility/model/FormViewModel.ets index 4eea97e41..462affde7 100644 --- a/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formstatetest_notifyinvisible2/entry/src/main/ets/MainAbility/model/FormViewModel.ets +++ b/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formstatetest_notifyinvisible2/entry/src/main/ets/MainAbility/model/FormViewModel.ets @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import formManager from '@ohos.ability.formmanager'; import bundleManager from '@ohos.bundle'; diff --git a/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formstatetest_notifyvisible/entry/src/main/ets/MainAbility/model/FormViewModel.ets b/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formstatetest_notifyvisible/entry/src/main/ets/MainAbility/model/FormViewModel.ets index 4eea97e41..462affde7 100644 --- a/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formstatetest_notifyvisible/entry/src/main/ets/MainAbility/model/FormViewModel.ets +++ b/aafwk/aafwk_standard/formmanager/formsystemtest_ets/formstatetest_notifyvisible/entry/src/main/ets/MainAbility/model/FormViewModel.ets @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import formManager from '@ohos.ability.formmanager'; import bundleManager from '@ohos.bundle'; -- GitLab