[Offline indicator v2] Attempt to fix NPE
There is a NullPointerException in OfflineIndicatorControllerV2 that seem to be caused by a posted ConnectivityDetector#performConnectivityCheck(). While we can't repro the crash, this CL adds a call to from the Handler. It also removes any posted runnables in OfflineIndicatorControllerV2#destroy() that may otherwise cause similar issues. Bug: 1085567 Change-Id: I548dbe4b0c54d382cd9e5684f5e252565f9fc337 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2216388 Commit-Queue: Sinan Sahin <sinansahin@google.com> Reviewed-by:Jian Li <jianli@chromium.org> Reviewed-by:
Theresa <twellington@chromium.org> Cr-Commit-Position: refs/heads/master@{#772392}
Showing
Please register or sign in to comment