From 5d58fa1fb318e8d523148e6845e5c0a11ec354c1 Mon Sep 17 00:00:00 2001 From: tsenapathy Date: Tue, 29 Oct 2024 11:22:40 +0000 Subject: [PATCH] Update DisplaySettings.cpp for demo --- DisplaySettings/DisplaySettings.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/DisplaySettings/DisplaySettings.cpp b/DisplaySettings/DisplaySettings.cpp index e3ce4e7a08..37398ae205 100644 --- a/DisplaySettings/DisplaySettings.cpp +++ b/DisplaySettings/DisplaySettings.cpp @@ -22,6 +22,7 @@ #include "DisplaySettings.h" #include +#include #include "dsMgr.h" #include "host.hpp" #include "exception.hpp" @@ -3485,6 +3486,12 @@ namespace WPEFramework { LOGINFOMETHOD(); bool success = true; + LOGINFOMETHOD(); + + LOGINFO(":(%s): ***HACK*** enabling custom 3dlut !!!\n",__func__); + system("echo 3dlut enable > /sys/class/amvecm/debug"); + system("echo 3dlut open > /sys/class/amvecm/debug"); + returnIfParamNotFound(parameters, "operation"); string audioProfileState = parameters["operation"].String();