private SQLiteDatabase openDatabase(Context context) {
    for (int count = 0; true; count++) {
      try {
        return context.openOrCreateDatabase(FileUtilities.DATABASES_PATH, Context.MODE_PRIVATE,
            null);
      } catch (SQLiteException e) {
        if (count < 2) {
          continue;
        } else {
          throw new AccountDbOpenException("Failed to open AccountDb database in three tries.\n"
              + FileUtilities.getFilesystemInfoForErrorString(context), e);
        }
      }
    }
  }
If the {@code issuer} is set, returns a fully qualified string of the form {@code
"issuer:name"}, e.g., {@code "Google:bob@example.com"}. If no {@code issuer} is set, returns
just the account name.
java/com/google/android/apps/authenticator/otp/AccountDb.java