diff --git a/bundle.json b/bundle.json index 0ea1a05821d9dd63dfb73dd467dc29bca8cefe9a..6fd02dad7cd20c21b3eb4947b8af53009922ace5 100644 --- a/bundle.json +++ b/bundle.json @@ -59,7 +59,7 @@ "//base/powermgr/display_manager/sa_profile:displaymgr_sa_profile", "//base/powermgr/display_manager/service:displaymgrservice", "//base/powermgr/display_manager/service:displaymgr_stub", - "//base/powermgr/display_manager/service/etc:display.para" + "//base/powermgr/display_manager/service/etc:param_files" ] }, "inner_kits": [ diff --git a/service/etc/BUILD.gn b/service/etc/BUILD.gn index d7b60169c2e2e9d7550e6c723c145958b84eb976..f79925cb08c6a860dea9fbfaf3303e9cd0273776 100644 --- a/service/etc/BUILD.gn +++ b/service/etc/BUILD.gn @@ -21,3 +21,17 @@ ohos_prebuilt_etc("display.para") { part_name = "${displaymgr_part_name}" subsystem_name = "powermgr" } + +ohos_prebuilt_etc("display.para.dac") { + source = "display.para.dac" + relative_install_dir = "param" + part_name = "${displaymgr_part_name}" + subsystem_name = "powermgr" +} + +group("param_files") { + deps = [ + ":display.para", + ":display.para.dac", + ] +} diff --git a/service/etc/display.para.dac b/service/etc/display.para.dac new file mode 100644 index 0000000000000000000000000000000000000000..ee77455f638e1d51608e0dcf3283db3e9b23f1dc --- /dev/null +++ b/service/etc/display.para.dac @@ -0,0 +1,14 @@ +# Copyright (C) 2022 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. + +const.display.brightness.="foundation:foundation:444"