From 4ea96ea4d05f3b7c5b00bbc9e91ff305dc2986c8 Mon Sep 17 00:00:00 2001 From: suryag23 Date: Wed, 8 Oct 2025 20:31:18 +0530 Subject: [PATCH 1/2] RDKEAPPRT-266-[YT25] Handle Netflix, YouTube and Prime Video buttons --- accelerator-home-ui/settings.json | 2 +- accelerator-home-ui/src/App.js | 41 +++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 1 deletion(-) diff --git a/accelerator-home-ui/settings.json b/accelerator-home-ui/settings.json index 751f090..df2f8bc 100644 --- a/accelerator-home-ui/settings.json +++ b/accelerator-home-ui/settings.json @@ -13,6 +13,6 @@ "log": true, "enableAppSuspended": true, "showVersion": false, - "version": "5.0.7" + "version": "5.0.8" } } diff --git a/accelerator-home-ui/src/App.js b/accelerator-home-ui/src/App.js index c0e24a7..e46b78c 100644 --- a/accelerator-home-ui/src/App.js +++ b/accelerator-home-ui/src/App.js @@ -1046,6 +1046,13 @@ export default class App extends Router.App { }).then(res => { this.WARN(JSON.stringify(res)) }) + RDKShellApis.removeKeyIntercept({ + "keyCode": 115, + "modifiers": [], + "client": data.callsign + }).then(res => { + this.WARN(JSON.stringify(res)) + }) } if (data.success) { if ((GLOBALS.topmostApp === data.client) && @@ -1070,6 +1077,9 @@ export default class App extends Router.App { }, { "keyCode": 175, "modifiers": [] + }, { + "keyCode": 115, + "modifiers": [] }], "client": data.callsign }] @@ -1103,6 +1113,13 @@ export default class App extends Router.App { }).then(res => { this.WARN(JSON.stringify(res)) }) + RDKShellApis.removeKeyIntercept({ + "keyCode": 115, + "modifiers": [], + "client": data.callsign + }).then(res => { + this.WARN(JSON.stringify(res)) + }) } if ((GLOBALS.topmostApp === data.client) && (GLOBALS.selfClientName === "ResidentApp" || GLOBALS.selfClientName === "FireboltMainApp-refui") && GLOBALS.Miracastclientdevicedetails.state != "PLAYING") { @@ -1130,6 +1147,9 @@ export default class App extends Router.App { }, { "keyCode": 175, "modifiers": [] + }, { + "keyCode": 115, + "modifiers": [] }], "client": data.client }] @@ -1175,6 +1195,13 @@ export default class App extends Router.App { }).then(res => { this.WARN(JSON.stringify(res)) }) + RDKShellApis.removeKeyIntercept({ + "keyCode": 115, + "modifiers": [], + "client": data.callsign + }).then(res => { + this.WARN(JSON.stringify(res)) + }) } if ((GLOBALS.topmostApp === data.client) && (GLOBALS.selfClientName === "ResidentApp") && GLOBALS.Miracastclientdevicedetails.state != "PLAYING") { @@ -1209,6 +1236,13 @@ export default class App extends Router.App { }).then(res => { this.WARN(JSON.stringify(res)) }) + RDKShellApis.removeKeyIntercept({ + "keyCode": 115, + "modifiers": [], + "client": data.callsign + }).then(res => { + this.WARN(JSON.stringify(res)) + }) } if ((GLOBALS.topmostApp === data.client) && (GLOBALS.selfClientName === "ResidentApp" || GLOBALS.selfClientName === "FireboltMainApp-refui") && GLOBALS.Miracastclientdevicedetails.state != "PLAYING") { @@ -1244,6 +1278,13 @@ export default class App extends Router.App { }).then(res => { this.WARN(JSON.stringify(res)) }) + RDKShellApis.removeKeyIntercept({ + "keyCode": 115, + "modifiers": [], + "client": data.callsign + }).then(res => { + this.WARN(JSON.stringify(res)) + }) } if ((GLOBALS.topmostApp === data.client) && (GLOBALS.selfClientName === "ResidentApp" || GLOBALS.selfClientName === "FireboltMainApp-refui") && GLOBALS.Miracastclientdevicedetails.state != "PLAYING") { From 05c29e779631c6448cdfb022ccf30b3d366cfa2a Mon Sep 17 00:00:00 2001 From: suryag23 Date: Thu, 9 Oct 2025 12:21:55 +0530 Subject: [PATCH 2/2] RDKEAPPRT-312 [Netflix7][RTK] App state not reported to DIAL and Hide/stop fails --- accelerator-home-ui/settings.json | 2 +- accelerator-home-ui/src/api/XcastApi.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/accelerator-home-ui/settings.json b/accelerator-home-ui/settings.json index df2f8bc..44f087c 100644 --- a/accelerator-home-ui/settings.json +++ b/accelerator-home-ui/settings.json @@ -13,6 +13,6 @@ "log": true, "enableAppSuspended": true, "showVersion": false, - "version": "5.0.8" + "version": "5.0.9" } } diff --git a/accelerator-home-ui/src/api/XcastApi.js b/accelerator-home-ui/src/api/XcastApi.js index 3191211..49e0602 100644 --- a/accelerator-home-ui/src/api/XcastApi.js +++ b/accelerator-home-ui/src/api/XcastApi.js @@ -209,8 +209,10 @@ export default class XcastApi { } setApplicationState(params) { + params.error = 'none'; return new Promise((resolve) => { this._thunder.call(this.callsign, 'setApplicationState', params).then(result => { + this.LOG("XcastAPI setApplicationState Updating: " + JSON.stringify(params) + " result: " + JSON.stringify(result)) resolve(true); }).catch(err => { this.ERR("setApplicationState failed trying older API. error is: " + JSON.stringify(err));