public void setListener(Listener listener) {
    mListener = listener;
  }
Sets the listener that this task will periodically notify about the state of the TOTP counter.

@param listener listener or {@code null} for no listener.
java/com/google/android/apps/authenticator/otp/TotpCountdownTask.java