summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Yifan Hong <elsk@google.com> 2022-06-03 11:03:25 -0700
committer Yifan Hong <elsk@google.com> 2022-06-03 11:13:22 -0700
commit30f2c7820c30be9797f172184f7f97cbc145f770 (patch)
tree5c6f0f95a61d65d9dc6a27b0d67f0579b8148139 /libs/androidfw/ResourceTimer.cpp
parent1c51fb46b140e045210275a1125d1a1d24e72ef2 (diff)
HealthServiceWrapperAidl fix NPE
It is possible that mRegCallback is null. Handle the case when it is accessed without null check. The mRegCallback is null because StatsPullAtomService initializes HealthServiceWrapper with null callback. Test: TH Bug: 232899396 Change-Id: I45c4ebca8c5612fdfbab8ffd28b9c2799d74869a Signed-off-by: Yifan Hong <elsk@google.com> Merged-In: I45c4ebca8c5612fdfbab8ffd28b9c2799d74869a
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions