commit | fff1c1dc2ffc2372b02b5bb78a8dfd0a16659ea8 | [log] [tgz] |
---|---|---|
author | Santos Cordon <santoscordon@google.com> | Mon Oct 19 15:55:20 2015 -0700 |
committer | Santos Cordon <santoscordon@google.com> | Tue Oct 20 09:23:42 2015 -0700 |
tree | 96d0f7962481b858e9b3ace436e86e11dca97b82 | |
parent | 750de1a55889064bc23b3c9e9169ec20a8898206 [diff] |
Prevent DISCONNECTED unknown connections. 1) Add an early return to disallow disconnected unknown connections. 2) Move code in run updateState() after uses of mOriginalConnection since it is possible for updateState() to set it to null. 3) Add logging to the bug so that we can recognize when and how this situation happens in the wild. Bug: 24469962 Change-Id: Ic7c986bff98ee65677a4a2cb06beff54d79e5ab6