parameters: (self)
docstring: Load the shared preferences file from the device.
  
      A empty xml document, which may be modified and saved on |commit|, is
      created if the file does not already exist.
docstring_summary: Load the shared preferences file from the device.
docstring_tokens: Load the shared preferences file from the device .
function: def Load(self):
      """Load the shared preferences file from the device.
  
      A empty xml document, which may be modified and saved on |commit|, is
      created if the file does not already exist.
      """
      if self._device.FileExists(self.path):
        self._xml = ElementTree.fromstring(
            self._device.ReadFile(self.path, as_root=True))
        assert self._xml.tag == 'map'
      else:
        self._xml = None
      self._changed = False
function_tokens: def Load ( self ) : if self . _device . FileExists ( self . path ) : self . _xml = ElementTree . fromstring ( self . _device . ReadFile ( self . path , as_root = True ) ) assert self . _xml . tag == 'map' else : self . _xml = None self . _changed = False