Skip to content
This repository was archived by the owner on Apr 6, 2021. It is now read-only.

Commit 69a6997

Browse files
pfedanThomasHabets
authored andcommitted
Issue VACCUM SQL directive to prevent the DB from keeping old Seeds. (#89)
Issue VACCUM SQL directive to prevent the DB from keeping old Seeds.
1 parent 02178b8 commit 69a6997

File tree

1 file changed

+1
-0
lines changed
  • AuthenticatorApp/src/main/java/com/google/android/apps/authenticator

1 file changed

+1
-0
lines changed

AuthenticatorApp/src/main/java/com/google/android/apps/authenticator/AccountDb.java

+1
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@ private static String whereClause(String email) {
342342

343343
public void delete(String email) {
344344
mDatabase.delete(TABLE_NAME, whereClause(email), null);
345+
mDatabase.execSQL("VACUUM");
345346
}
346347

347348
/**

0 commit comments

Comments
 (0)