+
+ account_list_last_updated = MobileLedgerDB.get_option_value("last_refresh", (long) 0);
+
+ }
+
+ private void update_accounts(boolean force) {
+ long now = new Date().getTime();
+ if ((now > (account_list_last_updated + (24 * 3600*1000))) || force) {
+ Log.d("db", "accounts last updated at " + account_list_last_updated+" and now is " + now+". re-fetching");
+ update_accounts();
+ }