No, it shouldn't. When status is connecting or connected , wifiManager.connection.network will not be null