Merge changes I04291231,Ia224f6e3,I6daa22a7 into rvc-dev

* changes:
  Add null check when build MediaDevice
  Base on MediaDeviceType to ranking devices list
  Add new route type for support 3.5 mm headset and usb headset