summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Charles Chen <charlesccchen@google.com> 2024-06-18 18:11:13 +0800
committer Charles Chen <charlesccchen@google.com> 2024-06-19 14:22:21 +0800
commit634560a33b8cee2a40e8517164814dc940528eda (patch)
tree797ec4461302936d4238260dfaad1f7cf82fad55 /libs/androidfw/FileStream.cpp
parentbcc59ec188f4bdb8a027dbe378c98272cecfaa71 (diff)
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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions