diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java index 5160fcebb..5f6cff5fe 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java @@ -572,7 +572,7 @@ public class BoardActivity extends XWActivity protected void onPause() { m_handler = null; - ConnStatusHandler.setHandler( null, null ); + ConnStatusHandler.setHandler( null ); waitCloseGame( true ); super.onPause(); } @@ -588,7 +588,7 @@ public class BoardActivity extends XWActivity loadGame(); - ConnStatusHandler.setHandler( m_handler, this ); + ConnStatusHandler.setHandler( this ); } @Override diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/ConnStatusHandler.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/ConnStatusHandler.java index 7444a57a3..e5eabcae6 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/ConnStatusHandler.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/ConnStatusHandler.java @@ -141,7 +141,7 @@ public class ConnStatusHandler { s_rect = new Rect( left, top, right, bottom ); } - public static void setHandler( Handler handler, ConnStatusCBacks cbacks ) + public static void setHandler( ConnStatusCBacks cbacks ) { s_cbacks = cbacks; }