diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/NetStateCache.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/NetStateCache.java index 692ce47e7..2f252a06f 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/NetStateCache.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/NetStateCache.java @@ -82,8 +82,8 @@ public class NetStateCache { IntentFilter filter = new IntentFilter(); filter.addAction( ConnectivityManager.CONNECTIVITY_ACTION ); - Intent intent = context.getApplicationContext(). - registerReceiver( s_receiver, filter ); + context.getApplicationContext() + .registerReceiver( s_receiver, filter ); s_ifs = new HashSet(); s_haveReceiver = true;