summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Shawn Lin <shawnlin@google.com> 2022-06-23 06:20:00 +0000
committer Shawn Lin <shawnlin@google.com> 2022-07-28 09:25:21 +0000
commit2a4ddb9c145ffca5bec63deeb00fd9796928e750 (patch)
tree7c06c8faebdc5fb914b094fd387135b043d22fea /libs/androidfw/StringPool.cpp
parent1d7f570eaa4115133e65905f1aa56a3a9d9377a5 (diff)
Fix the NPE crash when device reboot with hide cutout set
1. Set initial values to the fields. 2. Also listen to onDisplayAdded for the case that only the onDisplayAdded is being called after reboot. Bug: 220884764 Test: 1. Go Settings > System > Developer option > Display cutout 2. Select Rednder apps below cutout area 3. Reboot device Change-Id: I35ba3dcebcded19373901b88f7bb208633587392
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions