android / privacy-sandbox-samples

Apache License 2.0
130 stars 52 forks source link

Bug in the Android Privacy Sandbox documents: Leave a custom audience #98

Closed guybashan closed 6 months ago

guybashan commented 7 months ago

There seems to be a bug in the Privacy Sandbox documents on the section of: Leave a custom audience. A URL for the doc: https://developer.android.com/design-for-safety/privacy-sandbox/guides/protected-audience?version=beta#java_3

image

This section:

LeaveCustomAudienceRequest leaveCustomAudienceRequest =
    new JoinCustomAudienceRequest.Builder()

Should be:

LeaveCustomAudienceRequest leaveCustomAudienceRequest =
    new LeaveCustomAudienceRequest.Builder()
cshmerling commented 7 months ago

Thanks for flagging this. Fixing the issue now