MAP Client Only connect MNS in connected state

Only allow the MNS to connect when the MAS client is in the connected
state, this prevents the possibility of the MNS client from connecting
if the MAS fails to connect.

Bug: 135088863
Test: disallow MAS connection and verify MNS notifications don't arrive.
Change-Id: I75de88e74708283ebbaef70251f7575c0da0c4d4
(cherry picked from commit ac9715de616a2e8de421d72dbb2fd1ef6a55842c)

Merged-In: I75de88e74708283ebbaef70251f7575c0da0c4d4
Change-Id: I3103c679d37a0664da4f6e777d9d5f42af257f51
1 file changed