Skip to content

RDKEAPPRT-899 If QueryPowerState is standby ,after reboot QueryPowerState is shown ON - #239

Merged
suryag23 merged 6 commits into
developfrom
899
Aug 7, 2026
Merged

RDKEAPPRT-899 If QueryPowerState is standby ,after reboot QueryPowerState is shown ON#239
suryag23 merged 6 commits into
developfrom
899

Conversation

@suryag23

@suryag23 suryag23 commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates RefUI’s power-state restoration behavior across reboot/reload scenarios to address cases where a device that was in STANDBY before reboot is later reported/shown as ON, and bumps the application version to 6.0.32.

Changes:

  • Adjust power-state restoration flow after reboot, including handling of setPowerState() returning false and preventing repeated restoration on UI reloads via a session-scoped flag.
  • Add sessionStorage-based guard to skip restoration logic on UI reloads (e.g., language change) while still syncing GLOBALS.powerState from PowerManager.
  • Bump RefUI package and UI settings version from 6.0.31 to 6.0.32.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
bolt/package-configs/com.rdkcentral.refui.json Bumps package version/versionName to 6.0.32.
accelerator-home-ui/src/App.js Updates reboot power-state restoration logic and adds a session flag to avoid incorrect restoration on UI reloads.
accelerator-home-ui/settings.json Bumps platformSettings version to 6.0.32.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread accelerator-home-ui/src/App.js
Comment thread accelerator-home-ui/src/App.js

@yashaswini-rk yashaswini-rk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@suryag23
suryag23 merged commit 34bb14d into develop Aug 7, 2026
11 of 14 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants