Skip to content

Commit c3be9f7

Browse files
fix : Update consent method implementation (#477)
The consent implementation for kits was not returning the current consent
1 parent 9b5068e commit c3be9f7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

android-kit-base/src/main/java/com/mparticle/kits/FilteredMParticleUser.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,12 @@ public boolean setUserTag(String tag) {
152152

153153
@Override
154154
public ConsentState getConsentState() {
155-
return null;
155+
return mpUser.getConsentState();
156156
}
157157

158158
@Override
159159
public void setConsentState(ConsentState state) {
160-
160+
mpUser.setConsentState(state);
161161
}
162162

163163
@Override

0 commit comments

Comments
 (0)