Merge "hal: update input source type during open input stream"