diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/GamesListDelegate.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/GamesListDelegate.java index 62175bcef..239b01e90 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/GamesListDelegate.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/GamesListDelegate.java @@ -546,6 +546,7 @@ public class GamesListDelegate extends ListDelegateBase R.id.games_submenu_logs, R.id.games_menu_copyDevid, R.id.games_menu_setDevid, + R.id.games_menu_restart, }; private static final int[] NOSEL_ITEMS = { R.id.games_menu_newgroup, @@ -1961,6 +1962,10 @@ public class GamesListDelegate extends ListDelegateBase showDialogFragment( DlgID.SET_MQTTID ); break; + case R.id.games_menu_restart: + ProcessPhoenix.triggerRebirth( m_activity ); + break; + case R.id.games_menu_timerStats: makeOkOnlyBuilder( TimerReceiver.statsStr( m_activity ) ) .setActionPair( Action.CLEAR_INT_STATS, R.string.button_clear_stats ) diff --git a/xwords4/android/app/src/main/res/menu/games_list_menu.xml b/xwords4/android/app/src/main/res/menu/games_list_menu.xml index e2e636e15..cf5d927c6 100644 --- a/xwords4/android/app/src/main/res/menu/games_list_menu.xml +++ b/xwords4/android/app/src/main/res/menu/games_list_menu.xml @@ -154,4 +154,8 @@ /> + + diff --git a/xwords4/android/app/src/main/res/values/strings.xml b/xwords4/android/app/src/main/res/values/strings.xml index 62ba3b7ab..8459d8582 100644 --- a/xwords4/android/app/src/main/res/values/strings.xml +++ b/xwords4/android/app/src/main/res/values/strings.xml @@ -2645,6 +2645,9 @@ Import app data + + Restart app + Export