Merge "Fix an NPE in WatchdogEventLogger#stop" into rvc-dev am: 1ad1f9938f

Change-Id: I879bd22a26884a5931aee8d1cfd863b1e3253c9f
This commit is contained in:
JW Wang
2020-03-30 09:05:45 +00:00
committed by Automerger Merge Worker

View File

@@ -36,8 +36,10 @@ public class WatchdogEventLogger {
} }
public void stop() { public void stop() {
mReceiver.stop(); if (mReceiver != null) {
mReceiver.clear(); mReceiver.stop();
mReceiver.clear();
}
} }
/** /**