Skip to content
Commit 595002a0 authored by Jeffrey Huang's avatar Jeffrey Huang
Browse files

Fix an NPE in BatteryService

mCallback is possible to be null. Avoid registering null callbacks.

Bug: 175184519
Test: TH
Change-Id: Ic382d268f40a8ea31aaeedc7a85b6dc9b4e6c210
Merged-In: Ic382d268f40a8ea31aaeedc7a85b6dc9b4e6c210
(cherry picked from commit 780ca87a)
parent 64ab91ef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment