summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Kathy Chen <kxchen@google.com> 2022-04-21 13:16:40 -0700
committer Kathy Chen <kxchen@google.com> 2022-04-23 00:58:39 -0700
commit57999bac7893330e3c828b67e5870631f621028d (patch)
tree7d6e2c830770f576c1d5e04a241da68ea29e7596 /libs/androidfw/StringPool.cpp
parentb45b8bdc941f2a337ccb8e9d3b35929a93316a63 (diff)
Stabalize AmbientContext detection by restoring client requests.
If the underlying detection service restarts or package updates, resume detection for cached requests. Move cached client data from PerUserService to MasterService, since the former can be re-instantiated when the underlyig detection service gets destroyed. If the AiAi component is not available, return STATUS_NOT_SUPPORTED. Bug: 229028987 Test: Flash device and restart/re-install AiAi service to verify detection is restored. Install AiAi apk without detection service, and verify STATUS_NOT_SUPPORTED is returned. Change-Id: I0b583da07fa0d406c32f0c44a0270f3f81977624
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions