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 e8f9941e774fce55ffd8c4c06a59c13cec3cdf35..9b09225070d8baf4062cf466a595a441993ae53b 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 d4300370985495cb8affca3f1c28bc059c0013d1..f0b0084f43a0ef2589b40af108025321b6de8cf8 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 e8f9941e774fce55ffd8c4c06a59c13cec3cdf35..9b09225070d8baf4062cf466a595a441993ae53b 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 fbf5dc862856af904a0a2b9250bbb2b2e210432f..d9b8ad574b6be5bde708fb539e2f39876ad92358 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 e8f9941e774fce55ffd8c4c06a59c13cec3cdf35..9b09225070d8baf4062cf466a595a441993ae53b 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 81309ace31c6da2e5d50b6c96a2daf5b4403dc13..792ce411807e1c1038bf5ce55b7f9ac9860a8a43 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 a012c99da9d8d249294b3ca22b48f1ab460f2f0a..de99d63ccfe0fde5b84a9a4584be1b89f602e4ed 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 e8f9941e774fce55ffd8c4c06a59c13cec3cdf35..9b09225070d8baf4062cf466a595a441993ae53b 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 a8a2da5255651cb379ca1d162015460fd9db1ba3..e3b5aa05994955fe402d41ecb074a72a1d7fbf88 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 6fd77296e62dd8ab0a141412ee1774e14522d5b9..93da5a98a87834e505d990e13ca58130438a0ae4 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 9a7cc8248fbee708a61cad9af240e636d29edaad..dfb47a149bf937c43ab72cad2745efe36d6bdd52 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 b7a0995c8e441cac86e21e06e7c9071664482b1c..118b21a9e8f69e09b3a316b4df2279f860959042 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 7ccaa90c4989d1a46267aa626878d345e44778d4..41d8e5a6830ac26c687caf51a3c30ec33b3fe5c4 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 4d58355c7bc371caa970c161280b27b4ce8bf437..89533226e76331a2c0997da0bf3c9707e6c0fc2a 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 4eea97e414b2e2918b3015dfe99b360b3d6d05eb..462affde744956c2f7db057285fb6356d3fd475e 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 4eea97e414b2e2918b3015dfe99b360b3d6d05eb..462affde744956c2f7db057285fb6356d3fd475e 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 4eea97e414b2e2918b3015dfe99b360b3d6d05eb..462affde744956c2f7db057285fb6356d3fd475e 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 4eea97e414b2e2918b3015dfe99b360b3d6d05eb..462affde744956c2f7db057285fb6356d3fd475e 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 4eea97e414b2e2918b3015dfe99b360b3d6d05eb..462affde744956c2f7db057285fb6356d3fd475e 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';