From 3ffa73b0f22970a20955e17c91ba01cde56d8dbc Mon Sep 17 00:00:00 2001 From: jinliu9508 Date: Mon, 16 Dec 2024 01:42:59 -0500 Subject: [PATCH] remove the code that manually forces the loading process to take 5 seconds --- .../core/internal/operations/impl/OperationModelStore.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/OneSignalSDK/onesignal/core/src/main/java/com/onesignal/core/internal/operations/impl/OperationModelStore.kt b/OneSignalSDK/onesignal/core/src/main/java/com/onesignal/core/internal/operations/impl/OperationModelStore.kt index 22146f97ef..1fa25fe631 100644 --- a/OneSignalSDK/onesignal/core/src/main/java/com/onesignal/core/internal/operations/impl/OperationModelStore.kt +++ b/OneSignalSDK/onesignal/core/src/main/java/com/onesignal/core/internal/operations/impl/OperationModelStore.kt @@ -30,7 +30,6 @@ import org.json.JSONObject internal class OperationModelStore(prefs: IPreferencesService) : ModelStore("operations", prefs) { fun loadOperations() { load() - Logging.debug("OperationModelStore finished loading.") } override fun create(jsonObject: JSONObject?): Operation? { @@ -64,7 +63,6 @@ internal class OperationModelStore(prefs: IPreferencesService) : ModelStore throw Exception("Unrecognized operation: $operationName") } - Thread.sleep(5000) // populate the operation with the data. operation.initializeFromJson(jsonObject)