Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Don't recycle bitmap for icon reuse.#9966

Merged
tobrun merged 1 commit into
masterfrom
9936-annotation-images-broken
Sep 12, 2017
Merged

Don't recycle bitmap for icon reuse.#9966
tobrun merged 1 commit into
masterfrom
9936-annotation-images-broken

Conversation

@tobrun
Copy link
Copy Markdown
Member

@tobrun tobrun commented Sep 12, 2017

Closes #9936, regression from #9643.

In the mentioned PR, I assumed it was save to recycle bitmaps when no longer in use but since the android resources system caches resources, we aren't allowed to make that assumption. From this PR forward it will be the end-users responsibility to recycle bitmaps if they want to free memory.

@tobrun tobrun added the Android Mapbox Maps SDK for Android label Sep 12, 2017
@tobrun tobrun added this to the android-v5.2.0 milestone Sep 12, 2017
@tobrun tobrun self-assigned this Sep 12, 2017
@tobrun tobrun requested a review from ivovandongen September 12, 2017 07:47
Copy link
Copy Markdown
Contributor

@ivovandongen ivovandongen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Thanks for picking this up so quickly.

@tobrun tobrun merged commit 8e01f52 into master Sep 12, 2017
@tobrun tobrun deleted the 9936-annotation-images-broken branch September 12, 2017 08:18
@Guardiola31337 Guardiola31337 mentioned this pull request Oct 6, 2017
20 tasks
@Guardiola31337 Guardiola31337 mentioned this pull request Oct 19, 2017
20 tasks
@Guardiola31337 Guardiola31337 mentioned this pull request Oct 26, 2017
20 tasks
@tobrun tobrun mentioned this pull request Nov 3, 2017
21 tasks
This was referenced Nov 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Android Mapbox Maps SDK for Android

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants