From c3be9f7a219b7780f9edc262c02da21e8e1ae470 Mon Sep 17 00:00:00 2001 From: Mansi-mParticle <159845845+Mansi-mParticle@users.noreply.github.com> Date: Wed, 10 Apr 2024 14:27:59 -0400 Subject: [PATCH] fix : Update consent method implementation (#477) The consent implementation for kits was not returning the current consent --- .../main/java/com/mparticle/kits/FilteredMParticleUser.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android-kit-base/src/main/java/com/mparticle/kits/FilteredMParticleUser.java b/android-kit-base/src/main/java/com/mparticle/kits/FilteredMParticleUser.java index 594042533..4898ddb45 100644 --- a/android-kit-base/src/main/java/com/mparticle/kits/FilteredMParticleUser.java +++ b/android-kit-base/src/main/java/com/mparticle/kits/FilteredMParticleUser.java @@ -152,12 +152,12 @@ public boolean setUserTag(String tag) { @Override public ConsentState getConsentState() { - return null; + return mpUser.getConsentState(); } @Override public void setConsentState(ConsentState state) { - + mpUser.setConsentState(state); } @Override