diff options
| author | 2023-10-02 16:26:04 +0200 | |
|---|---|---|
| committer | 2023-10-02 16:31:24 +0200 | |
| commit | fa842bed5bc3c3d537aac8271c8b4b952001084f (patch) | |
| tree | ec810751e8a281439ee90d37f11723b924c661f6 /libs/androidfw/FileStream.cpp | |
| parent | 85dd3026d92f4185052c5cc88f7a8d613e7afcd5 (diff) | |
Prevent dialog launch from crashing in rare cases
This CL ensures that we don't call GhostView.addGhost on a source
that triggered a dialog launch if that source was just removed from its
hierarchy.
The end result of this CL is not perfect given that it makes the dialog
animate from the Rect at (0, 0, 0, 0) but it should be rare enough to
not matter.
Bug: 295858408
Test: Manual. Patched the code to first confirm that this was the source
of the bug then confirmed that the fix worked.
Change-Id: I51ed0f698649d135334d699925b75976352be55a
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions