commit | b0761d3b04ed16800bc96a32a759fd6374d1e20f | [log] [tgz] |
---|---|---|
author | Ben Lin <linben@google.com> | Thu Feb 16 11:04:04 2017 -0800 |
committer | Ben Lin <linben@google.com> | Thu Feb 16 11:05:56 2017 -0800 |
tree | 0d37a623f00649c77a93f2d56d113e703cc59388 | |
parent | c046d5589c5e4b078fe23a1ba2bf4e11565dbd36 [diff] |
Fix NPE caused by not getting a Root DocumentInfo back from task. We do a force callback on GetRootsDocumentInfoTask, so if the doc we get back is null, we need to safe-guard against it. It's not very common that we get no DocumentInfo back (we have a timeout, and most well-behaving Providers should give us a DocumentInfo), but it is possible that Provider took too long to respond. Bug: 35399529 Change-Id: Ic2153c78019c835ea509397d9b208913eb28f7a0