function handleKeyPress(event) {
    var PHRASE = 'secret';
    if (PHRASE.charCodeAt(keyPressState) === event.keyCode) {
      if (++keyPressState < PHRASE.length)
        return;

      $('android-secret-container').classList.remove('invisible');
    }

    keyPressState = 0;
  }
/**
   * Allows displaying the Android Secret by typing a secret phrase.
   *
   * There are good reasons for displaying the Android Secret associated with
   * the local connection info, but we also need to be careful to make sure that
   * users don't share this value by accident. Therefore we require a secret
   * phrase to be typed into the page for making it visible.
   *
   * @param {!Event} event The keypress event handler.
   */
Allows displaying the Android Secret by typing a secret phrase.
There are good reasons for displaying the Android Secret associated with
the local connection info, but we also need to be careful to make sure that
users don't share this value by accident. Therefore we require a secret
phrase to be typed into the page for making it visible.

@param {!Event} event The keypress event handler.
Allows displaying the Android Secret by typing a secret phrase . There are good reasons for displaying the Android Secret associated with the local connection info but we also need to be careful to make sure that users don ' t share this value by accident . Therefore we require a secret phrase to be typed into the page for making it visible . @param { !Event } event The keypress event handler .
function handleKeyPress(event) {
    var PHRASE = 'secret';
    if (PHRASE.charCodeAt(keyPressState) === event.keyCode) {
      if (++keyPressState < PHRASE.length)
        return;
      $('android-secret-container').classList.remove('invisible');
    }
    keyPressState = 0;
  }
function handleKeyPress ( event ) { var PHRASE = 'secret' ; if ( PHRASE . charCodeAt ( keyPressState ) === event . keyCode ) { if ( ++ keyPressState < PHRASE . length ) return ; $ ( 'android-secret-container' ) . classList . remove ( 'invisible' ) ; } keyPressState = 0 ; }
Allows displaying the Android Secret by typing a secret phrase.
Allows displaying the Android Secret by typing a secret phrase .