summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Matías Hernández <matiashe@google.com> 2023-03-14 11:23:08 +0100
committer Matías Hernández <matiashe@google.com> 2023-03-14 11:23:08 +0100
commit8ee4b51d8d3dac448d277c18a8825195c940e5d3 (patch)
tree1fc56e632c28661c9ffe9dd9732ac553666de95f /libs/input/PointerController.cpp
parent58197e4306ab8de6947de6c6215712723d2e96b3 (diff)
Eliminate delay before contacts lookup for a Notification
The RankingReconsideration produced by ValidateNotificationPeople had getDelay() == 1000 ms, which meant NMS waiting a full second before starting the work. This wasted half of the time available to decide whether a notification should produce sound during DND, for no good reason (despite what the comment claimed, this delay is not used as a timeout). This CL also moves all the contacts-querying methods in ValidateNotificationPeople to PeopleRankingReconsideration. This makes it clear that the querying is only done as part of the reconsideration, and process() only queries the cache. (This is a roll-forward with adjusted CTS tests). Bug: 263839687 Test: atest Change-Id: I80707fc1381410a5b64c3ac128e448d8d9a35b11
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions