commit | 8f699a3dd2f05b9598eef3094ccf6188e54e23f9 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Fri Jun 03 11:03:25 2022 -0700 |
committer | Yifan Hong <elsk@google.com> | Fri Jun 03 11:14:16 2022 -0700 |
tree | 15fd19d0b884b75e1786b22dec22527a8e86e4e0 | |
parent | f1a6e001fdf5ec2847b058b9a9e30cd4f44015af [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