Merge "Support batching input changes to remove flicker."