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)
Loading
Please register or sign in to comment