Revert "Merge pull request #20224 from timdream/input-manage-transition2"

This reverts commit 211d8fb44f979ad72d0bd606c98007d68f6f64bd, reversing
changes made to adf6d4f66497c88d68a9e5509d740eef182af4f8.