summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Charles Chen <liangyuchen@google.com> 2023-12-06 23:22:36 +0000
committer charleschen <liangyuchen@google.com> 2023-12-07 20:35:56 +0000
commita17110e2825b6a1cd35c15edd74c9586db988403 (patch)
tree03c38942728f379e90472a011b59f7431416799a /libs/androidfw/StringPool.cpp
parent1fba603b59d0878b5eb8032aa7452216b0d57d1e (diff)
Fix NPE when pfd is not present
When a pfd is returned from VIS, we should check if pfd is null or not to avod NPE. If the pfd is null, we need to throw a IOException as the javadoc alludes. Bug: 315207356 Test: atest CtsVoiceInteractionTestCases Flag: N/A Change-Id: Ibaed9970c1ea841432361254468ac87c703a84f2
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions