In the class PersistentState.java the prefs variable gets the saved/typed text from prior sessions here, on line 106 into restoredText. Where does the getString method get the saved/typed text?
protected void onResume() {
super.onResume();
...
SharedPreferences prefs = getPreferences(0);
String restoredText = prefs.getString("text", null);