Bug: 240436909 Test: atest InputConnectionEndToEndTest Change-Id: I2f8c511748c9de3a25bd6a17fcf33cc5017dd0e8