From 9c0d02a17f9feb78c7f573ddb966c71e750cf710 Mon Sep 17 00:00:00 2001 From: tabbas651 Date: Tue, 27 Jan 2026 20:41:12 +0000 Subject: [PATCH] RDKEMW-12989 : UserSetings Plugin Activation failed due to Plugin Activator Reason for change: Removed the Thunde/WPEFramework running check before activate /deactivate request Test Procedure: please refer the ticket comments Risks: Medium Signed-off-by: Thamim Razith Abbas Ali --- source/main.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/source/main.cpp b/source/main.cpp index 99c78d5..7f46aaa 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -130,7 +130,8 @@ static void parseArgs(const int argc, char** argv) } } - +//we shall update this changes under gDeactivate +#if 0 uint32_t getPID(const char* processName) { char command[128] = {}; @@ -157,6 +158,7 @@ bool isRunning(uint32_t pid) return (kill(pid, 0) == 0); } +#endif int main(int argc, char* argv[]) { @@ -164,6 +166,8 @@ int main(int argc, char* argv[]) initLogging(gLogLevel); +//we shall update this changes under gDeactivate +#if 0 // Check if WPEFramework is running uint32_t wpePid = getPID("WPEFramework"); bool isWpeRunning = isRunning(wpePid); @@ -181,6 +185,7 @@ int main(int argc, char* argv[]) return 0; } } +#endif // For now, we only implement the starter in COM-RPC but could do a JSON-RPC version // in the future