Skip to content

Commit

Permalink
Remove recording of key rotation time.
Browse files Browse the repository at this point in the history
  • Loading branch information
schildbach committed Apr 20, 2014
1 parent a997ed4 commit 8e3ec2d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions wallet/src/de/schildbach/wallet/WalletApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ public class WalletApplication extends Application
private Wallet wallet;
private PackageInfo packageInfo;

private static final int KEY_ROTATION_VERSION_CODE = 135;

private static final Logger log = LoggerFactory.getLogger(WalletApplication.class);

@Override
Expand Down Expand Up @@ -136,12 +134,6 @@ public void uncaughtException(final Thread thread, final Throwable throwable)

config.updateLastVersionCode(packageInfo.versionCode);

if (config.versionCodeCrossed(packageInfo.versionCode, KEY_ROTATION_VERSION_CODE))
{
log.info("detected version jump crossing key rotation");
wallet.setKeyRotationTime(System.currentTimeMillis() / 1000);
}

ensureKey();

migrateBackup();
Expand Down

0 comments on commit 8e3ec2d

Please sign in to comment.