Always look for display-specific IME.

Even if the current displayId or deviceId doesn't change, always
lookup and validate the relevant IME.

Otherwise subsequent calls to startInputUncheckedLocked will have
the wrong behavior if the VDM IME is not available for some reason
because we do not persist the display IME policy in that case.

Fix: 325018800
Test: atest VirtualDeviceImeTest --iterations=100
Change-Id: I7ce274662774a7c5756303a5254ae1213c84fc40
1 file changed