diff options
| author | 2022-09-19 14:14:01 -0700 | |
|---|---|---|
| committer | 2022-09-27 05:46:50 +0000 | |
| commit | 63da68c1913ddb702af50cb8b5f0f65a1daa6ded (patch) | |
| tree | bc9bb2e065e466e01c88419eb457c93817344c2a /libs/androidfw/StringPool.cpp | |
| parent | 9f7005c5e9fe3f2d2f22fc2361ab587a8943eff2 (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
Bug: 242254421
Change-Id: Id933b2bc4f887da8b2f4959955bd174ed5879a47
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions