Merge "[Output Switcher] Apply distance information for devices ranking" into tm-dev