commit | d84ac6ab3451b32aaedc2b497a57c700088d6f6d | [log] [tgz] |
---|---|---|
author | Paul Stewart <pstew@google.com> | Thu Jan 05 12:26:44 2017 -0800 |
committer | Paul Stewart <pstew@google.com> | Thu Jan 05 12:38:20 2017 -0800 |
tree | 27576e082aab31877ee674463f96678f82440d7c | |
parent | a0519deb15342a5eeb82b27db94a305d5e1d6990 [diff] |
DO NOT MERGE: Fix null dereference in carrier networks WifiStateMachine can respond to CMD_HAS_CARRIER_CONFIGURED_NETWORKS with a null object if it is not in a state to handle this. Therefore syncHasCarrierConfiguredNetworks must check for null before attempting to cast the result object back to boolean. Bug: 34050164 Test: Compile Change-Id: I21b80ef3989ca2d6a09784f9c9a44f4af19b5850