]> hydra-www.ietfng.org Git - android-vcpass-oisafe/commit
One line change, big question:
authorisaac.jones <isaac.jones@72b678ce-9140-0410-bee8-679b907dd61a>
Sun, 18 Jan 2009 00:03:31 +0000 (00:03 +0000)
committerisaac.jones <isaac.jones@72b678ce-9140-0410-bee8-679b907dd61a>
Sun, 18 Jan 2009 00:03:31 +0000 (00:03 +0000)
commitc8c42f123374c82c14fd1e22d8c976c45be8d93f
treea524e79e7e2b2fb232ccfa1fac3f7e21f1e75ec1
parentabd9acabd7bf0f4c8ceaea37f946418e1d47e91b
One line change, big question:
src/org/openintents/safe/PassEdit.java

@@ -143,6 +143,7 @@
   @Override
   protected void onPause() {
         super.onPause();
+ saveState();
dbHelper.close();
dbHelper = null;
}

We now save the state on Pause. This allows the user's work to get
saved if they hit hte "Home" key, or if the application logs out
because of a timeout or because of the user selecting "log out" from
the notification area.

It also will save the data if the user hits the "back" key.

Is this OK?

git-svn-id: http://openintents.googlecode.com/svn/trunk/Safe@1757 72b678ce-9140-0410-bee8-679b907dd61a
src/org/openintents/safe/PassEdit.java