diff options
| author | 2023-05-18 09:26:12 -0700 | |
|---|---|---|
| committer | 2023-05-18 09:26:12 -0700 | |
| commit | 50216bcc62a3dd1a81f94c73aef85612acb26283 (patch) | |
| tree | 672a019015849a5aea8c8ce7e4c20909f4392840 /libs/androidfw/FileStream.cpp | |
| parent | 2537e1649201cf8605b59ccc7bd27d8c18d616d1 (diff) | |
Handle the case where launch root is not attached
- Throw illegalstateException if the task that is being set as launch
root task is not attached to the wm hierarchy - in other words:
when it doesn't have a display area.
- This makes sure that system server doesn't crash with NPE when this
happens.
Bug: 283152174
Test: Tested manually using the car portrait target
Change-Id: I330560cbb1ecf8f267c37e1696084b6872c3068e
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions