summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Felipe Leme <felipeal@google.com> 2022-09-19 14:14:01 -0700
committer Felipe Leme <felipeal@google.com> 2022-09-28 00:51:52 +0000
commit8d5cf40e2bafe494c3ff70c0a62ac96527e7fe3e (patch)
tree2d7f42c0eb41ae3f356671d5b31c90c785e97139 /libs/androidfw/StringPool.cpp
parentbff2fa5fd8fa6938cd530382865a053795a14dde (diff)
Further fixes on VIMS.onPreCreatedUserConversion()
Previously, when onRoleHoldersChanged() was called in a pre-created user, VoiceInteractionManagerService (A.K.A. VIMS) would store that user id and call the method again when the pre-converted user is converted to a real user (on onPreCreatedUserConversion()), as the assistant role holders is not available for pre-created users. But if the system restarts between the user pre-creation and conversion, onPreCreatedUserConversion() would log a warning and do nothing. So, this CL gets rids of the "save the user id" part, and simply re-call onRoleHoldersChanged() whenever a pre-created user is converted. Test: manual verification on automotive builds Fixes: 242254421 Merged-In: Id933b2bc4f887da8b2f4959955bd174ed5879a47 Change-Id: Id933b2bc4f887da8b2f4959955bd174ed5879a47 (cherry picked from commit 63da68c1913ddb702af50cb8b5f0f65a1daa6ded)
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions