summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Ytai Ben-Tsvi <ytai@google.com> 2022-03-21 15:10:04 -0700
committer Ytai Ben-Tsvi <ytai@google.com> 2022-03-21 15:10:04 -0700
commitd2185bf42cfc567ccdda9b7bb3cc640afbfbd7b2 (patch)
treeebebfd15b6c6c05e7bb02b697f86b9a3839ddc77 /libs/androidfw/StringPool.cpp
parent4cff41a3f254b9b1430f8cb970f45dfe9be20ffc (diff)
Check for null callback
The modelData callback may be nullified before actually being invoked, e.g. when calling startRecognition() on an already running model, with a different callback. Fixes: 225768984 Test: Manual reproduction on the issue and then applying the fix and verifying that it works. Change-Id: I089061123c8cf12eef19fdf16bb3a2c106ea2438
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions