sm8250-common: livedisplay: uprev to 2.1

This commit is contained in:
SGCMarkus 2022-03-06 23:02:20 +01:00
commit 3c0cba0748
14 changed files with 193 additions and 35 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2019-2020 The LineageOS Project
* Copyright (C) 2019-2022 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.
@ -16,13 +16,13 @@
#pragma once
#include <vendor/lineage/livedisplay/2.0/ISunlightEnhancement.h>
#include <vendor/lineage/livedisplay/2.1/ISunlightEnhancement.h>
namespace vendor {
namespace lineage {
namespace livedisplay {
namespace V2_0 {
namespace sysfs {
namespace V2_1 {
namespace implementation {
using ::android::hardware::Return;
@ -31,7 +31,7 @@ class SunlightEnhancement : public ISunlightEnhancement {
SunlightEnhancement();
bool isSupported();
// Methods from ::vendor::lineage::livedisplay::V2_0::ISunlightEnhancement follow.
// Methods from ::vendor::lineage::livedisplay::V2_1::ISunlightEnhancement follow.
Return<bool> isEnabled() override;
Return<bool> setEnabled(bool enabled) override;
@ -40,8 +40,8 @@ class SunlightEnhancement : public ISunlightEnhancement {
int32_t enabled_mode_;
};
} // namespace sysfs
} // namespace V2_0
} // namespace implementation
} // namespace V2_1
} // namespace livedisplay
} // namespace lineage
} // namespace vendor