summaryrefslogtreecommitdiff
path: root/fakelocation/fakelocationdemo/src/main/java/foundation/e
diff options
context:
space:
mode:
authorGuillaume Jacquart <guillaume.jacquart@hoodbrains.com>2023-04-21 06:25:55 +0000
committerGuillaume Jacquart <guillaume.jacquart@hoodbrains.com>2023-04-21 06:25:55 +0000
commitef669659db8c9fbab2a84dcbc8f3e99411eb1201 (patch)
tree4785f6b44d121f95c840020441687bce5777a44f /fakelocation/fakelocationdemo/src/main/java/foundation/e
parent2df577ca97a674a4bd3875dc5137bb44df2c03ef (diff)
parent6068cebe972e000872e4780dd9f75680a3abf073 (diff)
Merge branch '6556-use_pname_for_trackers_2' into 'main'
6556: add AdvancedPrivacy App Id in trackers stats to avoid appUid aliasing See merge request e/os/advanced-privacy!122
Diffstat (limited to 'fakelocation/fakelocationdemo/src/main/java/foundation/e')
-rw-r--r--fakelocation/fakelocationdemo/src/main/java/foundation/e/privacymodules/fakelocationdemo/MainActivity.kt5
1 files changed, 4 insertions, 1 deletions
diff --git a/fakelocation/fakelocationdemo/src/main/java/foundation/e/privacymodules/fakelocationdemo/MainActivity.kt b/fakelocation/fakelocationdemo/src/main/java/foundation/e/privacymodules/fakelocationdemo/MainActivity.kt
index 42cf658..cf6fb2c 100644
--- a/fakelocation/fakelocationdemo/src/main/java/foundation/e/privacymodules/fakelocationdemo/MainActivity.kt
+++ b/fakelocation/fakelocationdemo/src/main/java/foundation/e/privacymodules/fakelocationdemo/MainActivity.kt
@@ -38,6 +38,7 @@ import foundation.e.privacymodules.fakelocationdemo.databinding.ActivityMainBind
import foundation.e.privacymodules.permissions.PermissionsPrivacyModule
import foundation.e.privacymodules.permissions.data.AppOpModes
import foundation.e.privacymodules.permissions.data.ApplicationDescription
+import foundation.e.privacymodules.permissions.data.ProfileType
class MainActivity : AppCompatActivity() {
companion object {
@@ -54,7 +55,9 @@ class MainActivity : AppCompatActivity() {
packageName = packageName,
uid = myUid(),
label = getString(R.string.app_name),
- icon = null
+ icon = null,
+ profileId = 0,
+ profileType = ProfileType.MAIN
)
}