From 53f4a9ce311d612d43fa770cf7e8f8e98fbb43a0 Mon Sep 17 00:00:00 2001 From: Guillaume Jacquart Date: Tue, 12 Sep 2023 06:17:39 +0000 Subject: 2: organise module with clean archi, use Koin for injection. --- fakelocation/src/main/AndroidManifest.xml | 3 +- .../e/advancedprivacy/fakelocation/KoinModule.kt | 9 ++ .../domain/usecases/FakeLocationModule.kt | 133 +++++++++++++++++++++ .../fakelocation/services/FakeLocationService.kt | 111 +++++++++++++++++ .../fakelocation/FakeLocationModule.kt | 132 -------------------- .../fakelocation/FakeLocationService.kt | 110 ----------------- .../fakelocation/IFakeLocationModule.kt | 41 ------- 7 files changed, 255 insertions(+), 284 deletions(-) create mode 100644 fakelocation/src/main/java/foundation/e/advancedprivacy/fakelocation/KoinModule.kt create mode 100644 fakelocation/src/main/java/foundation/e/advancedprivacy/fakelocation/domain/usecases/FakeLocationModule.kt create mode 100644 fakelocation/src/main/java/foundation/e/advancedprivacy/fakelocation/services/FakeLocationService.kt delete mode 100644 fakelocation/src/main/java/foundation/e/privacymodules/fakelocation/FakeLocationModule.kt delete mode 100644 fakelocation/src/main/java/foundation/e/privacymodules/fakelocation/FakeLocationService.kt delete mode 100644 fakelocation/src/main/java/foundation/e/privacymodules/fakelocation/IFakeLocationModule.kt (limited to 'fakelocation/src') diff --git a/fakelocation/src/main/AndroidManifest.xml b/fakelocation/src/main/AndroidManifest.xml index 5077c24..fde371c 100644 --- a/fakelocation/src/main/AndroidManifest.xml +++ b/fakelocation/src/main/AndroidManifest.xml @@ -1,5 +1,6 @@