Fix the "ime set <imeId>" workaround

Taking the deviceId into account.

Bug: 354782333
Change-Id: Ie3a5ebe58d6fca652560ccca6f0cdda235ce8fa6
Fix: 357868762
Test: presubmit, atest VirtualDeviceImeTest
Flag: TEST_ONLY
1 file changed