summaryrefslogtreecommitdiffstats
path: root/sysfs/DisplayColorCalibration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sysfs/DisplayColorCalibration.cpp')
-rw-r--r--sysfs/DisplayColorCalibration.cpp20
1 files changed, 18 insertions, 2 deletions
diff --git a/sysfs/DisplayColorCalibration.cpp b/sysfs/DisplayColorCalibration.cpp
index e5b1169..3331796 100644
--- a/sysfs/DisplayColorCalibration.cpp
+++ b/sysfs/DisplayColorCalibration.cpp
@@ -1,10 +1,26 @@
+/*
+ * Copyright (C) 2019 The LineageOS Project
+ *
+ * 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.
+ */
+
#include "DisplayColorCalibration.h"
namespace vendor {
namespace lineage {
namespace livedisplay {
namespace V2_0 {
-namespace implementation {
+namespace sysfs {
// Methods from ::vendor::lineage::livedisplay::V2_0::IDisplayColorCalibration follow.
Return<int32_t> DisplayColorCalibration::getMaxValue() {
@@ -34,7 +50,7 @@ Return<bool> DisplayColorCalibration::setCalibration(const hidl_vec<int32_t>& rg
//return new DisplayColorCalibration();
//}
//
-} // namespace implementation
+} // namespace sysfs
} // namespace V2_0
} // namespace livedisplay
} // namespace lineage