summaryrefslogtreecommitdiff
path: root/permissionsstandalone
diff options
context:
space:
mode:
authorGuillaume Jacquart <guillaume.jacquart@hoodbrains.com>2023-09-12 06:17:39 +0000
committerGuillaume Jacquart <guillaume.jacquart@hoodbrains.com>2023-09-12 06:17:39 +0000
commita38472602d259b6c265660bf3b0ba472f20c6a7f (patch)
tree59c58e58cfef0e370f39bd9c150e36c6dfcb50c0 /permissionsstandalone
parent1a77e3924bc78eabca7b859ef62be30bbf2476ad (diff)
parent53f4a9ce311d612d43fa770cf7e8f8e98fbb43a0 (diff)
Merge branch '2-privacymodules_to_clean_archi' into 'main'
2: organise module with clean archi, use Koin for injection. See merge request e/os/advanced-privacy!144
Diffstat (limited to 'permissionsstandalone')
-rw-r--r--permissionsstandalone/build.gradle2
-rw-r--r--permissionsstandalone/src/main/AndroidManifest.xml3
-rw-r--r--permissionsstandalone/src/main/java/foundation/e/advancedprivacy/permissions/externalinterfaces/PermissionsPrivacyModule.kt (renamed from permissionsstandalone/src/main/java/foundation/e/privacymodules/permissions/PermissionsPrivacyModule.kt)7
3 files changed, 7 insertions, 5 deletions
diff --git a/permissionsstandalone/build.gradle b/permissionsstandalone/build.gradle
index cf3563e..e330d31 100644
--- a/permissionsstandalone/build.gradle
+++ b/permissionsstandalone/build.gradle
@@ -47,7 +47,7 @@ android {
dependencies {
implementation(libs.bundles.kotlin.android.coroutines)
- implementation project(':privacymodule-api')
+ implementation project(':core')
testImplementation libs.junit
diff --git a/permissionsstandalone/src/main/AndroidManifest.xml b/permissionsstandalone/src/main/AndroidManifest.xml
index 662ea44..60ff274 100644
--- a/permissionsstandalone/src/main/AndroidManifest.xml
+++ b/permissionsstandalone/src/main/AndroidManifest.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
+ ~ Copyright (C) 2023 MURENA SAS
~ Copyright (C) 2022 E FOUNDATION
~
~ This program is free software: you can redistribute it and/or modify
@@ -17,7 +18,7 @@
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="foundation.e.privacymodules.permissionsstandalone"
+ package="foundation.e.advancedprivacy.permissions.standalone"
>
</manifest> \ No newline at end of file
diff --git a/permissionsstandalone/src/main/java/foundation/e/privacymodules/permissions/PermissionsPrivacyModule.kt b/permissionsstandalone/src/main/java/foundation/e/advancedprivacy/permissions/externalinterfaces/PermissionsPrivacyModule.kt
index 283b417..95f5ff0 100644
--- a/permissionsstandalone/src/main/java/foundation/e/privacymodules/permissions/PermissionsPrivacyModule.kt
+++ b/permissionsstandalone/src/main/java/foundation/e/advancedprivacy/permissions/externalinterfaces/PermissionsPrivacyModule.kt
@@ -15,15 +15,16 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-package foundation.e.privacymodules.permissions
+package foundation.e.advancedprivacy.permissions.externalinterfaces
import android.app.NotificationChannel
import android.content.Context
import android.content.pm.PackageInfo
import android.content.pm.PackageManager
import android.graphics.drawable.Drawable
-import foundation.e.privacymodules.permissions.data.AppOpModes
-import foundation.e.privacymodules.permissions.data.ApplicationDescription
+import foundation.e.advancedprivacy.domain.entities.AppOpModes
+import foundation.e.advancedprivacy.domain.entities.ApplicationDescription
+import foundation.e.advancedprivacy.externalinterfaces.permissions.APermissionsPrivacyModule
/**
* Implements [IPermissionsPrivacyModule] using only API authorized on the PlayStore.