Merge "Input: Fix some Applications ANR issue in monkey test"