Skip to content

Commit 3ffa73b

Browse files
committed
remove the code that manually forces the loading process to take 5 seconds
1 parent 0de1885 commit 3ffa73b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

OneSignalSDK/onesignal/core/src/main/java/com/onesignal/core/internal/operations/impl/OperationModelStore.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ import org.json.JSONObject
3030
internal class OperationModelStore(prefs: IPreferencesService) : ModelStore<Operation>("operations", prefs) {
3131
fun loadOperations() {
3232
load()
33-
Logging.debug("OperationModelStore finished loading.")
3433
}
3534

3635
override fun create(jsonObject: JSONObject?): Operation? {
@@ -64,7 +63,6 @@ internal class OperationModelStore(prefs: IPreferencesService) : ModelStore<Oper
6463
else -> throw Exception("Unrecognized operation: $operationName")
6564
}
6665

67-
Thread.sleep(5000)
6866
// populate the operation with the data.
6967
operation.initializeFromJson(jsonObject)
7068

0 commit comments

Comments
 (0)