summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Vladimir Komsiyski <vladokom@google.com> 2024-02-05 10:03:24 +0000
committer Vladimir Komsiyski <vladokom@google.com> 2024-02-05 16:53:06 +0100
commit8292157f8fd5d6b4ba2ffd843d27a4c6ef833787 (patch)
treef2d560a5cab30bc59409f08178eb180f23896fa0 /libs/androidfw/StringPool.cpp
parent4e07be21bfb4f2fded216eca3bc1556422957219 (diff)
Revert^2 "Fix VDM IME handling:"
Differences from the original CL that broke ImeSmokeTest because externally writing to secure settings to change the default IME was broken: it reverted the setting stored for default device IME. - Instead of trying to keep the two settings entries in sync, simply reset the default device IME to null when current device BECOMES the default one. This way the default device IME setting should only be set while a virtual device IME is active. When an inconsistency is detected (e.g. system crash while on virtual device), then the setting is restored. - In resetSelectedInputMethodAndSubtypeLocked, reset the current device and display id. They'll be computed when the IME is about to show. This reverts commit 455c22046368bff25aa94a4b7b3bef9e47bea9d2. Reason for revert: Issues fixed Test: atest VirtualDeviceImeTest Test: atest ImeSmokeTest with auto lunch target Change-Id: I4f446f657197d0ad7d5cd32d9041a59fccc1453e
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions