コード例 #1
0
 // for sync purposes, we select a different wallet than normally, ignoring
 // segregated mode setting.
 private Wallet getWallet() {
   final Record selectedRecord = recordManager.getSelectedRecord();
   if (selectedRecord.tag == Record.Tag.ARCHIVE) {
     return new Wallet(selectedRecord);
   } else {
     return new Wallet(recordManager.getRecords(Record.Tag.ACTIVE), selectedRecord);
   }
 }