Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b4b2aec3 authored by Bo Liang's avatar Bo Liang Committed by Aaron Kling
Browse files

Fix screen can not be switched issue

This is a screen can not be switched issue for Foldable Phone, When switched screen by cmd "adb shell cmd device_state state X" to change screen from state 0 to 1, The screen can not switch success from secondary screen to main screen, because after LogicalDisplayMapper sending swapped event, the main screen power_state will never changed.

We add update power mode when DMS received Swapped event, like this, DMS will update power mode ON to SF, and screen can be switched success.

Bug: 356561060
Test: Screen be switched success

Change-Id: I1fceb23c09215091f0d18c4c8bc0368edfbd24db
parent ea2c8bd9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment