From f52c441f880d4a1420f7f76aa68f2c1fe6bcbf2a Mon Sep 17 00:00:00 2001 From: markvdouw Date: Thu, 18 Jan 2024 10:04:28 -0300 Subject: [PATCH] Removing the place where reading the feature flag from --- .../src/main/java/com/mparticle/internal/ConfigManager.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/android-core/src/main/java/com/mparticle/internal/ConfigManager.java b/android-core/src/main/java/com/mparticle/internal/ConfigManager.java index a7283cbb0..b2b7c0f7a 100644 --- a/android-core/src/main/java/com/mparticle/internal/ConfigManager.java +++ b/android-core/src/main/java/com/mparticle/internal/ConfigManager.java @@ -403,9 +403,7 @@ private synchronized void updateCoreConfig(JSONObject responseJSON, boolean newC mLogUnhandledExceptions = responseJSON.getString(KEY_UNHANDLED_EXCEPTIONS); } - if (responseJSON.has(ENABLE_BACKGROUND_BATCHING)) { - enableBackgroundBatchingUpload = responseJSON.getBoolean(ENABLE_BACKGROUND_BATCHING); - } + //TODO Read from backgroundEventBatching feature flag editor.putBoolean(ENABLE_BACKGROUND_BATCHING, enableBackgroundBatchingUpload); if (responseJSON.has(KEY_PUSH_MESSAGES) && newConfig) {