Merge "InputReader: Add API to get the last used input device" into main