Merge "Implement naive rule of device order on seamless transfer"