private void updateFirstAccountAddedNoticeDisplay() {
    // IMPLEMENTATION NOTE: The notice is displayed iff there are accounts in AccountDb at the
    // moment and there were no accounts last time this Activity was launched by the user.

    int previousAccountCount = getLastLaunchAccountCount();
    if (previousAccountCount < 0) {
      // Never launched before with this feature implemented -- pretend that the number of accounts
      // hasn't changed since last launch.
      previousAccountCount = getAccountCount();
    }
    int currentAccountCount = getAccountCount();
    setLastLaunchAccountCount(currentAccountCount);
    firstAccountAddedNoticeDisplayRequired =
        (previousAccountCount == 0) && (currentAccountCount > 0);
    refreshFirstAccountAddedNoticeDisplay();
    refreshOrientationState();
  }
Displays or hides, as needed, the notice that appears after the first account was added. When
displayed, the notice replaces the default "enter PIN" prompt above the list of accounts.
java/com/google/android/apps/authenticator/AuthenticatorActivity.java