Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d0729ba9 authored by 张倞诚's avatar 张倞诚 Committed by Evan Severson
Browse files

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
parent 55c8a818
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment