From 7ce1ecf145f34e209e71523d3a66e84307c3a985 Mon Sep 17 00:00:00 2001 From: liuxiyao Date: Thu, 21 Dec 2023 19:35:06 +0800 Subject: [PATCH] add License and Copyright to 4.1bate1 Signed-off-by: liuxiyao --- OAT.xml | 1 + entry/hvigorfile.js | 17 ++++++++++++++++- hvigorfile.js | 17 ++++++++++++++++- .../src/main/ets/Application/MyAbilityStage.ts | 15 +++++++++++++++ .../src/main/ets/MainAbility/MainAbility.ts | 15 +++++++++++++++ 5 files changed, 63 insertions(+), 2 deletions(-) diff --git a/OAT.xml b/OAT.xml index 51baccb..f8dda76 100644 --- a/OAT.xml +++ b/OAT.xml @@ -32,6 +32,7 @@ + diff --git a/entry/hvigorfile.js b/entry/hvigorfile.js index d7720ee..44d43f8 100644 --- a/entry/hvigorfile.js +++ b/entry/hvigorfile.js @@ -1,2 +1,17 @@ +/* + * Copyright (c) 2023 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. + */ + // Script for compiling build behavior. It is built in the build plug-in and cannot be modified currently. -module.exports = require('@ohos/hvigor-ohos-plugin').hapTasks +module.exports = require('@ohos/hvigor-ohos-plugin').hapTasks; diff --git a/hvigorfile.js b/hvigorfile.js index 586ced9..9823176 100644 --- a/hvigorfile.js +++ b/hvigorfile.js @@ -1,2 +1,17 @@ +/* + * Copyright (c) 2023 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. + */ + // Script for compiling build behavior. It is built in the build plug-in and cannot be modified currently. -module.exports = require('@ohos/hvigor-ohos-plugin').appTasks \ No newline at end of file +module.exports = require('@ohos/hvigor-ohos-plugin').appTasks; \ No newline at end of file diff --git a/mobiledatasettings/src/main/ets/Application/MyAbilityStage.ts b/mobiledatasettings/src/main/ets/Application/MyAbilityStage.ts index e42374e..865a08b 100644 --- a/mobiledatasettings/src/main/ets/Application/MyAbilityStage.ts +++ b/mobiledatasettings/src/main/ets/Application/MyAbilityStage.ts @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2023 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 AbilityStage from '@ohos.app.ability.AbilityStage'; import LogUtils from '../common/utils/LogUtils'; diff --git a/mobiledatasettings/src/main/ets/MainAbility/MainAbility.ts b/mobiledatasettings/src/main/ets/MainAbility/MainAbility.ts index 66d9ae8..a8609d8 100644 --- a/mobiledatasettings/src/main/ets/MainAbility/MainAbility.ts +++ b/mobiledatasettings/src/main/ets/MainAbility/MainAbility.ts @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2023 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 Ability from '@ohos.app.ability.UIAbility'; import type Window from '@ohos.window'; import LogUtils from '../common/utils/LogUtils';