From e909ae7ab2a2fda7b1d81724e92a237f972a92a5 Mon Sep 17 00:00:00 2001 From: Guillermo Mazzola Date: Tue, 6 May 2025 09:46:45 +0200 Subject: [PATCH] chore: Removed `AccessUtils` unused method --- .../androidMain/kotlin/com/mparticle/AccessUtils.kt | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/testing/src/androidMain/kotlin/com/mparticle/AccessUtils.kt b/testing/src/androidMain/kotlin/com/mparticle/AccessUtils.kt index 3ea1ed1..3ee96ac 100644 --- a/testing/src/androidMain/kotlin/com/mparticle/AccessUtils.kt +++ b/testing/src/androidMain/kotlin/com/mparticle/AccessUtils.kt @@ -14,17 +14,6 @@ object AccessUtils { MParticle.reset(context!!, deleteDatabase, switchingWorkspaces) } - /** - * This is a way less than ideal implementation, but I think the insight is very important. - * - * This method returns an ordered list of the pending Messages in the UploadHandler queue. This - * gives us the ability to test the UploadHandler's true "state" when looking closely at how - * our Upload loop is performing - * @return - */ - @get:RequiresApi(api = Build.VERSION_CODES.M) - val uploadHandlerMessageQueue: Set - get() = messageManager.mUploadHandler.messageQueue val messageManager: MessageManager get() = MParticle.getInstance()!!.mMessageManager