parameters: (adb_command, device_serial)
docstring: Add serial number to ADB shell command.
  
    ADB shell command is given as list, e.g.
    ['adb','shell','some_command','some_args'].
    This replaces it with:
    ['adb','shell',-s',device_serial,'some_command','some_args']
  
    Args:
       adb_command: ADB command list.
       device_serial: Device serial number.
  
    Returns:
       ADB command list with serial number added.
docstring_summary: Add serial number to ADB shell command.
docstring_tokens: Add serial number to ADB shell command .
function: def add_adb_serial(adb_command, device_serial):
    """Add serial number to ADB shell command.
  
    ADB shell command is given as list, e.g.
    ['adb','shell','some_command','some_args'].
    This replaces it with:
    ['adb','shell',-s',device_serial,'some_command','some_args']
  
    Args:
       adb_command: ADB command list.
       device_serial: Device serial number.
  
    Returns:
       ADB command list with serial number added.
    """
    if device_serial is not None:
      adb_command.insert(1, device_serial)
      adb_command.insert(1, '-s')
function_tokens: def add_adb_serial ( adb_command , device_serial ) : if device_serial is not None : adb_command . insert ( 1 , device_serial ) adb_command . insert ( 1 , '-s' )