From 64cd94d56793bc41e49798dc180f432e77d78fa7 Mon Sep 17 00:00:00 2001 From: Sudheer Shanka Date: Mon, 13 Feb 2023 16:26:39 -0800 Subject: [PATCH] Remove a couple of TODOs in BroadcastQueueModernImpl. Legacy queue used to delay broadcasts in some cases where no. of bg services are above a certain threshold. Modern queue does not do this, so ignore a couple of callbacks related to this behavior. Bug: 261899716 Test: TH Change-Id: Ifa3612ea2a0e9ced16407391ed532c5b8345583c --- .../com/android/server/am/BroadcastQueueModernImpl.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/services/core/java/com/android/server/am/BroadcastQueueModernImpl.java b/services/core/java/com/android/server/am/BroadcastQueueModernImpl.java index f954420fc6aef..d58e775ff9193 100644 --- a/services/core/java/com/android/server/am/BroadcastQueueModernImpl.java +++ b/services/core/java/com/android/server/am/BroadcastQueueModernImpl.java @@ -1578,13 +1578,15 @@ class BroadcastQueueModernImpl extends BroadcastQueue { @Override public boolean isDelayBehindServices() { - // TODO: implement + // Modern queue does not alter the broadcasts delivery behavior based on background + // services, so ignore. return false; } @Override public void backgroundServicesFinishedLocked(int userId) { - // TODO: implement + // Modern queue does not alter the broadcasts delivery behavior based on background + // services, so ignore. } /**