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';