From 5291307c111e8beef7f0cd9367b36f73e48bc0e2 Mon Sep 17 00:00:00 2001 From: Andy2 Date: Thu, 24 Feb 2011 22:20:10 -0800 Subject: [PATCH] get rid of onRestart -- onStart is always called right after. --- .../src/org/eehouse/android/xw4/BoardActivity.java | 7 ------- .../src/org/eehouse/android/xw4/XWListActivity.java | 9 +-------- 2 files changed, 1 insertion(+), 15 deletions(-) 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 432be8fd6..bcbfee902 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java @@ -273,13 +273,6 @@ public class BoardActivity extends XWActivity { super.onStart(); } - @Override - protected void onRestart() - { - Utils.logf( "BoardActivity::onRestart" ); - super.onRestart(); - } - @Override protected void onPause() { diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWListActivity.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWListActivity.java index 9d38880cf..43728734b 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWListActivity.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWListActivity.java @@ -45,19 +45,12 @@ public class XWListActivity extends ListActivity { DispatchNotify.SetRunning( this ); } - @Override - protected void onRestart() - { - super.onRestart(); - DispatchNotify.SetRunning( this ); - } - @Override protected void onStop() { Utils.logf( "XWListActivity::onStop" ); - super.onStop(); DispatchNotify.ClearRunning( this ); + super.onStop(); } @Override