summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author jeffnainap <jeffnainap@google.com> 2023-02-23 01:28:05 +0000
committer jeffnainap <jeffnainap@google.com> 2023-02-23 02:04:50 +0000
commitd5b37667d0b36c9fc55f27b2783c295826d59026 (patch)
tree9b49bb212bcfe9ab81a3490d5c6f2203fe049658 /libs/androidfw/ApkParsing.cpp
parente871505cdb42e5ae520b3e0c7ad8f60aab9b671f (diff)
[People Service] Add throttling to DataManager add / change listener
We add throttling to the `onShortcutsAddedOrUpdated` shortcut service callback within the `DataManager`, as well as re-order the clean-up function to only execute once per update in order reduce the load on People Service and system_server. This is especially important in cases where apps publish many conversation shortcuts in a short period. Change-Id: I04b0c42dabfa4f1885bea2cf6efb3c4693220585 Test: unit tests and manually via load test apk Bug: 269420266
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions