OSDN Git Service

Don't the method onSaveInstanceState and onRestoreInstanceState
authorjruesga <jorge@ruesga.com>
Sat, 6 Oct 2012 22:31:10 +0000 (00:31 +0200)
committerjruesga <jorge@ruesga.com>
Sat, 6 Oct 2012 22:31:10 +0000 (00:31 +0200)
commit384a211328120cda24434d38aaa1a2446d633991
tree27b752755d0875631abd164a9f4129c1342ef327
parentce79fe2c6f44ea1184094db3405f5d630ba1ef6a
Don't the method onSaveInstanceState and onRestoreInstanceState

NavigationActivity is singleTop, so when it is displayed no
other activities exists in the stack. This cause an issue with the saved
instance of this class, because if another activity is displayed, and
the process is killed, NavigationActivity is started and the saved
instance gets corrupted. For this reason the methods onSaveInstanceState
and onRestoreInstanceState are not implemented, and every time the app
is killed, is restarted from his initial state.
src/com/cyanogenmod/explorer/activities/NavigationActivity.java