Merge "Fix autofill FillEventHistoryTest on devices with physical keyboard." into pi-dev