diff options
| author | 2023-09-12 16:55:14 -0700 | |
|---|---|---|
| committer | 2023-09-12 16:55:14 -0700 | |
| commit | 8e6028eff3452c171ab6fae83fda05cc4e2a9630 (patch) | |
| tree | f1de2904c2000854ffeb3d61aea01aa10174b9d9 /libs/androidfw/FileStream.cpp | |
| parent | ddc461be7f40c6f6a1cba8c352451fd5c47e93c9 (diff) | |
Also catch InvalidDisplayException in SoftInputWindow#show()
This is a follow up to my previous commit [1], which introduced a
state machine to handle inevitable runtime failures in a graceful
manner. Since then, we have started relying more on multi-display,
which sometimes ends up throwing
WindowManager.InvalidDisplayException
instead of
WindowManager.BadTokenException.
From IMEs' viewpoints, that they are equally unavoidable. Let's catch
both of them.
[1]: I1f51ed29df6b22b003ca285698e06b8f3ee5106a
13a9ffba01d6861725523b09dfc12f57c731f461
Fix: 295880764
Test: no end-to-end test as we have not figured out how to reproduce
this issue locally.
Change-Id: I66ba7b465e901e9ec2b31dd0245420513381872d
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions