mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-09 22:00:39 +01:00
cleanup
This commit is contained in:
parent
032f8c1f99
commit
40215337c9
1 changed files with 3 additions and 2 deletions
|
@ -100,11 +100,12 @@ public class NetStateCache {
|
|||
|
||||
NetworkInfo ni = (NetworkInfo)intent.
|
||||
getParcelableExtra(ConnectivityManager.EXTRA_NETWORK_INFO);
|
||||
NetworkInfo.State state = ni.getState();
|
||||
DbgUtils.logf( "CommsBroadcastReceiver.onReceive: %s",
|
||||
ni.getState().toString() );
|
||||
state.toString() );
|
||||
|
||||
boolean netAvail;
|
||||
switch ( ni.getState() ) {
|
||||
switch ( state ) {
|
||||
case CONNECTED:
|
||||
netAvail = true;
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue