Merge "hal: fix the input device selection for headphones"