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

Skip to content
Commit 634560a3 authored by Charles Chen's avatar Charles Chen
Browse files

Try to fix Exception in windowLayoutInfo

The issue is because app uses context without display association,
but somehow passes the UI Context check. Then it throws exception
when trying to call #getDisplay.

This CL provides compatibility by calling #getDisplayId instead.

Bug: 347862394
Test: atest WindowLayoutComponentImplTest
Flag: EXEMPT bugfix
Change-Id: Ic416f198a1c12b36471ba10bd4cb996e7c5894ec
parent bcc59ec1
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