summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Maryam Dehaini <mdehaini@google.com> 2023-11-22 00:03:10 -0800
committer Maryam Dehaini <mdehaini@google.com> 2023-11-22 00:10:27 -0800
commit1a2061e54e383fe8f005feecebe9d255452c8898 (patch)
treedb88c04aa8c7230f85e452f27d442acdae84d0d8 /libs/androidfw/ObbFile.cpp
parent5cd1f906dce40b1957d95c2b4c0079c1a1860c28 (diff)
Add null check to offsetCaptionLocation
There is currently a bug that is causing window decorations to exist even after the task they belong to has been deleted. This is causing a null pointer exception here since we are searching for the TaskInfo of an already deleted task using TaskOrganizer#getRunningTaskInfo which causes it to return null. Bug: 311273642 Test: Move task around and change windowing modes to make sure SysUi is no longer crashing Change-Id: I4972f041d36e345a40a026bdfc4c4077ff13dfe0
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions