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

Commit 93f2c8db authored by Liz Prucka's avatar Liz Prucka
Browse files

[IntrusionLogging] Fix STORED_EVENTS_SIZE_LIMIT batch limit

STORED_EVENTS_SIZE_LIMIT is too high for the current batch
rate, as events are only batched at Network or DNS events.

Lowering batch limit to 4 to allow for the transportation and
storage of network events.

Bug: 416710031
Test: atest android.security.cts.IntrusionDetectionManagerTest
Ignore-AOSP-First: security feature
Flag: EXEMPT: bugfix in localized component
Change-Id: I1d76c7f5676e917999f758afea91406b08b85408
parent 06e23aca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ public class DataAggregator {
    private static final int MSG_BATCH_DATA = 1;
    private static final int MSG_DISABLE = 2;

    private static final int STORED_EVENTS_SIZE_LIMIT = 1024;
    private static final int STORED_EVENTS_SIZE_LIMIT = 4;

    private final IntrusionDetectionService mIntrusionDetectionService;
    private final ArrayList<DataSource> mDataSources;