From e3f474e41b1ad1c18f5d64641f3befd862a36279 Mon Sep 17 00:00:00 2001 From: TheScarastic Date: Mon, 6 Jun 2022 13:32:57 +0530 Subject: [PATCH] privacymodulee: make startFakeLocation synchronised --- privacymodulese/build.gradle | 2 +- .../foundation/e/privacymodules/location/FakeLocationModule.kt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/privacymodulese/build.gradle b/privacymodulese/build.gradle index e6fc5c3..0efd525 100644 --- a/privacymodulese/build.gradle +++ b/privacymodulese/build.gradle @@ -10,7 +10,7 @@ android { minSdkVersion 26 targetSdkVersion 29 versionCode 3 - versionName "0.4.2" + versionName "0.4.3" consumerProguardFiles "consumer-rules.pro" } diff --git a/privacymodulese/src/main/java/foundation/e/privacymodules/location/FakeLocationModule.kt b/privacymodulese/src/main/java/foundation/e/privacymodules/location/FakeLocationModule.kt index 4c75751..2de7873 100644 --- a/privacymodulese/src/main/java/foundation/e/privacymodules/location/FakeLocationModule.kt +++ b/privacymodulese/src/main/java/foundation/e/privacymodules/location/FakeLocationModule.kt @@ -32,6 +32,7 @@ class FakeLocationModule(protected val context: Context): IFakeLocationModule { /** * @see IFakeLocationModule.startFakeLocation */ + @Synchronized override fun startFakeLocation() { providers.forEach { provider -> try { -- GitLab