parameters: (manifest_string)
return_statement: return ElementTree.tostring(manifest)
docstring: Stubifies the manifest for Instant Run.
  
    Args:
      manifest_string: the input manifest as a string.
    Returns:
      The new manifest as a string.
    Raises:
      Exception: if somethign goes wrong
docstring_summary: Stubifies the manifest for Instant Run.
docstring_tokens: Stubifies the manifest for Instant Run .
function: def StubifyInstantRun(manifest_string):
    """Stubifies the manifest for Instant Run.
  
    Args:
      manifest_string: the input manifest as a string.
    Returns:
      The new manifest as a string.
    Raises:
      Exception: if somethign goes wrong
    """
    manifest, application = _ParseManifest(manifest_string)
    old_application = application.get("{%s}name" % ANDROID)
    if old_application:
      application.set("name", old_application)
    application.set("{%s}name" % ANDROID, INSTANT_RUN_BOOTSTRAP_APPLICATION)
    return ElementTree.tostring(manifest)
function_tokens: def StubifyInstantRun ( manifest_string ) : manifest , application = _ParseManifest ( manifest_string ) old_application = application . get ( "{%s}name" % ANDROID ) if old_application : application . set ( "name" , old_application ) application . set ( "{%s}name" % ANDROID , INSTANT_RUN_BOOTSTRAP_APPLICATION ) return ElementTree . tostring ( manifest )