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
1 file changed
tree: a0ea90794355f3f06bea4732aa1a41fbf28966ef
  1. service/