summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Mark Renouf <mrenouf@google.com> 2022-02-25 13:09:01 -0500
committer Mark Renouf <mrenouf@google.com> 2022-03-01 14:47:49 -0500
commit6e31f665ae7b1f30823eff3294cc2b03545fe0d0 (patch)
tree70b75e124a87d6e7260228e815d9465bf0aacd22 /libs/androidfw/StringPool.cpp
parente31ec794dc42bbc828c5ba0944bc23e761f5ee63 (diff)
Simplify app prediction service check
In support of sharesheet unbundling: This code directly accesses private platform config resources and cannot be used outside of system_server. This was originally added during the Q->R transition as app prediction service was ramping up [See b/138595943]. Incorrect versions would cause increased latency in opening the sharesheet, app prediction missing but no crash. If there is a problem with AiAi version configuration, that should be addressed directly and not covered over by silently disabling functionality. At this time the package name returned from the system call PackageManager#getAppPredictionServicePackageName() is passed through the function "ensureSystemPackage" before being returned this is sufficient to satisfy and availability checks. Bug: 220895016 Test: manual; share content from app, verify share targets Change-Id: I11aebe4fba1d96b543ba89482313668ce55b8ca4
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions