summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author 张倞诚 <a591951062@gmail.com> 2023-11-24 02:02:52 +0000
committer Evan Severson <evanseverson@google.com> 2023-12-01 02:37:45 +0000
commitd0729ba962a2e41628deae1d62ac2029b1fd3b5d (patch)
tree2b2dd86d4ab7631bddeb34aec6aa0fb2c341bc4b /libs/androidfw/StringPool.cpp
parent55c8a818ecd3987bd1ccef1a8bc6066ae58a7a13 (diff)
Reduce unnecessary callbacks in AppOpsService.
When AppOpsCheckingServiceImpl#setUidMode returns true, many watchers will receive callbacks. When the system is busy, it will cause the Handler message queue to accumulate, leading to serious problems such as untimely broadcast distribution. Therefore, we reduce some callbacks when the op mode does not really change. Change-Id: Id010dab1392713cc0ba8982ab42e857d3ce8151d Merged-In: I41d79fdba0dcdc56a287082e22663fbc85998fb2
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions