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

Commit 56a7e0a0 authored by Thomas Stuart's avatar Thomas Stuart
Browse files

rm checkCompletedFiltersOnTimeout

As a part of a flag cleanup effort, the
checkCompletedFiltersOnTimeout is being removed

Flag: EXEMPT flag cleanup
Test: build + presubmits
Fixes: 409607104
Change-Id: I8a6eaa05f674e0bc887af7beaf029a4b0ed15776
parent 11242d1a
Loading
Loading
Loading
Loading
+1 −12
Original line number Diff line number Diff line
@@ -8,14 +8,3 @@ flag {
  description: "Gates whether to still perform Dnd filter when phone account has skip_filter call extra."
  bug: "222333869"
}
 No newline at end of file

# OWNER=tjstuart TARGET=25Q1
flag {
  name: "check_completed_filters_on_timeout"
  namespace: "telecom"
  description: "If the Filtering Graph times out, combine the finished results"
  bug: "364946812"
  metadata {
    purpose: PURPOSE_BUGFIX
  }
}
+0 −3
Original line number Diff line number Diff line
@@ -151,9 +151,6 @@ public class IncomingCallFilterGraph {
    private CallFilteringResult onTimeoutCombineFinishedFilters(
            List<CallFilter> filtersList,
            CallFilteringResult currentResult) {
        if (!mFeatureFlags.checkCompletedFiltersOnTimeout()) {
            return currentResult;
        }
        for (CallFilter filter : filtersList) {
            if (filter.result != null) {
                currentResult = currentResult.combine(filter.result);
+0 −1
Original line number Diff line number Diff line
@@ -232,7 +232,6 @@ public class IncomingCallFilterGraphTest extends TelecomTestCase {

        // WHEN:  DND is on and the caller cannot interrupt and the graph is processed
        when(mockRinger.shouldRingForContact(mCall)).thenReturn(false);
        when(mFeatureFlags.checkCompletedFiltersOnTimeout()).thenReturn(true);
        dndCallFilter.startFilterLookup(IncomingCallFilterGraph.DEFAULT_RESULT);
        graph.performFiltering();