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

Skip to content
Commit 1cc1f3ce authored by xinying's avatar xinying Committed by lbill
Browse files

Attach the background-panel to DisplayContent.



The background-panel is not attached to the DisplayContent,
therefore the parent of its parent, BackgroundWindowManager,
is null. This will result in the failure to record the screen
and black screen.

Therefore, we need to attach the background-panel
to the displaycontent.

bug: 254436057
Test: atest BackgroundWindowManagerTest
Test: manual record screen and trigger one-handed mode

Change-Id: I440feb76fdc59d73339770bba57857efa828c7d2
Signed-off-by: default avatarxinying <xinying1@xiaomi.corp-partner.google.com>
parent 8ebc9ed9
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