commit | d1a6be1b1472c683dd45344c936e543ac97533dc | [log] [tgz] |
---|---|---|
author | Vladimir Komsiyski <vladokom@google.com> | Mon Jan 29 15:42:24 2024 +0100 |
committer | Vladimir Komsiyski <vladokom@google.com> | Wed Jan 31 11:39:26 2024 +0100 |
tree | 271ec1f45290f1671b74a6414bdb07642a5b4857 | |
parent | 4e07be21bfb4f2fded216eca3bc1556422957219 [diff] |
Fix VDM IME handling: 1. Whenever the selected input method changes, also update the default device input method in settings, if the current device is the default one. 2. Whenever new settings instance is created, always pass the current device id, so the settings constructor knows whether to restore the stored default device id or not. Test: atest VirtualDeviceImeTest --iterations=50 Bug: 287269288 Change-Id: Ic8646fef8a18f03cdd387dc672bea991338c6793