summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Jorge Gil <jorgegil@google.com> 2025-01-24 08:07:48 +0000
committer Jorge Gil <jorgegil@google.com> 2025-01-24 23:47:24 +0000
commit3df0d8dc36c863f2de04bfcf75fc831ee9e714e7 (patch)
tree6fc13a80d264e7a67d134b761478b312fb1e3252 /libs/androidfw/StringPool.cpp
parent0e8e667249d159c0f34cc747643ab3811b3bcb3f (diff)
Desks: Allow obtaining non-existent desk instance in single-desk setups
An unrelated SystemUI crash might wipe the desk/task state from the DesktopRepository, and upon recreation, the existing freeform task recreation might be faster than the desk recreation. This resulted in a crash-loop because DesktopRepository was enforcing that a desk had been created before attempting to add a task to it. That enforcenment isn't really necessary in single-desk devices, so this CL removes it to fix the regression. Flag: EXEMPT bug fix Test: crash SystemUI on purpose, check it recovers instead of getting into a crash-loop Bug: 391984373 Change-Id: I37a4a91e06d77207ff3a8da52ae14a7ad30e3616
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions