Skip to content

RDKEMW-20793: brightness on support branch - #281

Open
DakshayaniMV wants to merge 1 commit into
developfrom
feature/RDKEMW-20793-Brightness_supportbranch
Open

RDKEMW-20793: brightness on support branch#281
DakshayaniMV wants to merge 1 commit into
developfrom
feature/RDKEMW-20793-Brightness_supportbranch

Conversation

@DakshayaniMV

Copy link
Copy Markdown

No description provided.

@DakshayaniMV
DakshayaniMV requested a review from a team as a code owner August 12, 2026 09:39
Copilot AI lite review requested due to automatic review settings August 12, 2026 09:39

Copilot AI 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.

Pull request overview

Updates front-panel display (FPD) brightness initialization to rely on host “default properties” rather than an in-file compile-time fallback, aligning brightness defaults with support-branch behavior.

Changes:

  • Removes the local dsFPD_BRIGHTNESS_DEFAULT fallback macro block from dsFPD.c.
  • Switches power-indicator brightness initialization to use HostPersistence::getDefaultProperty("Power.brightness").
  • Removes the conditional migration logic that adjusted persisted brightness values when defaults changed.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread rpc/srv/dsFPD.c
Comment on lines 176 to +180
string value;
int maxBrightness = dsFPD_BRIGHTNESS_DEFAULT;

value = device::HostPersistence::getInstance().getProperty("Power.brightness", numberToString(maxBrightness));
_dsPowerBrightness = stringToNumber(value);

_dsPowerBrightness = device::HostPersistence::getInstance().getDefaultProperty("Power.brightness");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants