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

Skip to content
Commit c4664eb0 authored by Catherine Liang's avatar Catherine Liang
Browse files

Fix lock workspace preview crash

The wallpaper picker app would crash when one enters the small preview,
then switches the display, for example on foldable devices, and enters
the small preview again. This is because
context.createWindowContext(...) cannot be called multiple times with
different display, or it would result in a Window Manager crash with the
message "multiple clients unsupported". In this CL, a workaround is used
to get the display size so the window context is no longer needed.

Bug: 303313708
Test: manually verified by testing the preview with different displays
Change-Id: I898fc3ca186cbefaf3cf1d653259b5acb6054ae5
parent 2a6cd0fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment