Handling stop() call in idle state

This adds one more layer of insurance to make sure we will trigger the
mModeListener.onStopped callback when a ClientModeManager is stopped. If
the callback has already been triggered in StartedState it will not
trigger again in idleState.

Bug: 188502374
Test: atest com.android.server.wifi

Change-Id: I295cbcfeb697bc520d0d9bcb7ee913be733db96a
1 file changed