summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Michael Hoisie <hoisie@google.com> 2022-07-10 21:46:54 +0000
committer Michael Hoisie <hoisie@google.com> 2022-07-10 22:07:07 +0000
commit02cc3745cbe602f6e62ee1020fd0974c3493edf7 (patch)
tree19a5c8b8d199f589ea00b7071f2fa10e1f38950b /libs/androidfw/StringPool.cpp
parentf6aac7b58996160bb9f09a76c4030d9cc742c0bb (diff)
Initialize port list in UiccSlotInfo constuctor
UiccSlotInfo.getPorts() assumes a non-null port list. Ensure that the port list is initialized in the (now deprecated) public constructor. If it is initialized to null, and getPorts is called, an NPE will occur. This came up in a setupwizard test that was using the UiccPortInfo constructor and calling getPorts(). Test: setupwizard SlotsSelectionActivityTest Bug: 238559684 Bug: 238444812 Change-Id: I0be45f4b55be196f94034f6eb26657202d50e32f
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions