parameters: (self)
docstring: Restores the flags to their original state.
docstring_summary: Restores the flags to their original state.
docstring_tokens: Restores the flags to their original state .
function: def Restore(self):
      """Restores the flags to their original state."""
      if self._old_flags == None:
        return  # Set() was never called.
      elif self._old_flags:
        self._android_cmd.SetFileContents(CHROME_COMMAND_FILE, self._old_flags)
      else:
        self._android_cmd.RunShellCommand('rm ' + CHROME_COMMAND_FILE)
function_tokens: def Restore ( self ) : if self . _old_flags == None : return # Set() was never called. elif self . _old_flags : self . _android_cmd . SetFileContents ( CHROME_COMMAND_FILE , self . _old_flags ) else : self . _android_cmd . RunShellCommand ( 'rm ' + CHROME_COMMAND_FILE )