Commit Graph

2 Commits

Author SHA1 Message Date
str4d
085778c98f Ensure that I2P system vars are set in any Activity that uses I2PBote
Sometimes the Android runtime kills off the Bote process to save memory, and
recreates it when the user next opens it. If the user was on an Activity that
was not EmailListActivity, then when recreated the I2P system vars would not be
set, and the first call to I2PBote.getInstance() would create an instance with
invalid paths. This was non-fatal - killing Bote and restarting it would fix
the problem - but was bad UX, because from the user's PoV all their emails and
data had disappeared.
2014-07-02 03:01:28 +00:00
str4d
b6310ab263 Move app initialization out of EmailListActivity so it can be used elsewhere 2014-07-02 01:39:50 +00:00