summaryrefslogtreecommitdiff
path: root/libs/hwui/RenderNode.cpp
diff options
context:
space:
mode:
author Tom Chan <tomchan@google.com> 2024-01-24 18:37:36 +0000
committer Tom Chan <tomchan@google.com> 2024-01-24 19:01:42 +0000
commit38a2eef04d5fe6d8895d2e696911c98a21c11dd7 (patch)
tree20188160b8debb2b43a8be5c703799dd200a6a16 /libs/hwui/RenderNode.cpp
parent9812a64b24502edc8913eea4dbac830e03007ec8 (diff)
Get WSM per user service dynamically.
This change makes WearableSensingManagerService gets the current user's per-user service instead of the default one. It also fixes an issue with overriding the wearable sensing service implementation by shell command. Previously, the WSS service name is cached in WearableSensingManagerPerUserService and cannot be changed without a phone restart, which means after the shell command overrides the service value, it stays the same even if the command is run again with a different service name. After this change, running the shell command will destroy the cached per-user service and hence allows the service name to be overwritten to a different value. Bug: 301427767 Test: atest CtsWearableSensingServiceTestCases and then tried on-device with a different WSS service name to verify the shell command can overwrite the service name for a second time Change-Id: Ie13b496f827e2f2e83da9d8a96ef9f85e6c93c8c
Diffstat (limited to 'libs/hwui/RenderNode.cpp')
0 files changed, 0 insertions, 0 deletions