sm8250-common: livedisplay: Rip out IDisplayModes

We are now using AOSP-ish display modes implementation.

Change-Id: Iba9d570dd7cef116e18f3e327c8ab5f5e63f2697
This commit is contained in:
LuK1337
2021-04-27 02:55:38 +02:00
parent 4c76d02e85
commit de5498efab
8 changed files with 0 additions and 247 deletions

View File

@@ -23,7 +23,6 @@
#include <vendor/lineage/livedisplay/2.1/IPictureAdjustment.h>
#include "AntiFlicker.h"
#include "DisplayModes.h"
#include "SunlightEnhancement.h"
using android::OK;
@@ -35,11 +34,9 @@ using android::hardware::joinRpcThreadpool;
using ::vendor::lineage::livedisplay::V2_0::sdm::PictureAdjustment;
using ::vendor::lineage::livedisplay::V2_0::sdm::SDMController;
using ::vendor::lineage::livedisplay::V2_1::IAntiFlicker;
using ::vendor::lineage::livedisplay::V2_1::IDisplayModes;
using ::vendor::lineage::livedisplay::V2_1::IPictureAdjustment;
using ::vendor::lineage::livedisplay::V2_1::ISunlightEnhancement;
using ::vendor::lineage::livedisplay::V2_1::implementation::AntiFlicker;
using ::vendor::lineage::livedisplay::V2_1::implementation::DisplayModes;
using ::vendor::lineage::livedisplay::V2_1::implementation::SunlightEnhancement;
int main() {
@@ -51,7 +48,6 @@ int main() {
std::shared_ptr<SDMController> controller = std::make_shared<SDMController>();
sp<AntiFlicker> af = new AntiFlicker();
sp<DisplayModes> dm = new DisplayModes();
sp<PictureAdjustment> pa = new PictureAdjustment(controller);
sp<SunlightEnhancement> se = new SunlightEnhancement();
@@ -64,13 +60,6 @@ int main() {
goto shutdown;
}
status = dm->registerAsService();
if (status != OK) {
LOG(ERROR) << "Could not register service for LiveDisplay HAL DisplayModes Iface ("
<< status << ")";
goto shutdown;
}
status = pa->registerAsService();
if (status != OK) {
LOG(ERROR) << "Could not register service for LiveDisplay HAL PictureAdjustment Iface ("