Merge "Fix an NPE in WatchdogEventLogger#stop" into rvc-dev am: 1ad1f9938f am: c644584570
Change-Id: I0544fa949a3f976c89bb301c52ed97fe04a0ccfb
This commit is contained in:
@@ -36,8 +36,10 @@ public class WatchdogEventLogger {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void stop() {
|
public void stop() {
|
||||||
mReceiver.stop();
|
if (mReceiver != null) {
|
||||||
mReceiver.clear();
|
mReceiver.stop();
|
||||||
|
mReceiver.clear();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user