Commit 1b9eaea3 authored by Luca Tomaino's avatar Luca Tomaino

Update android.md

parent 15499564
...@@ -272,6 +272,8 @@ There are 2 types of consents, modeled by the GeoUniq.ConsentItem enumeration: ...@@ -272,6 +272,8 @@ There are 2 types of consents, modeled by the GeoUniq.ConsentItem enumeration:
public class MainActivity extends Activity { public class MainActivity extends Activity {
@Override @Override
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
boolean analysisConsent = readAnalysisConsentStatusFromStorage(); boolean analysisConsent = readAnalysisConsentStatusFromStorage();
GeoUniq.getInstance(this).setPrivacyConsent(GeoUniq.ConsentItem.ANALYSIS, analysisConsent); GeoUniq.getInstance(this).setPrivacyConsent(GeoUniq.ConsentItem.ANALYSIS, analysisConsent);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment