Skip to content
This repository was archived by the owner on Mar 16, 2026. It is now read-only.

[telemetry] Android 12 compatibility fixes.#535

Merged
tarigo merged 1 commit into
mainfrom
tarigo_android_12_fixes
May 27, 2021
Merged

[telemetry] Android 12 compatibility fixes.#535
tarigo merged 1 commit into
mainfrom
tarigo_android_12_fixes

Conversation

@tarigo
Copy link
Copy Markdown
Contributor

@tarigo tarigo commented May 26, 2021

Fixes #532.

@tarigo tarigo self-assigned this May 26, 2021
@tarigo tarigo force-pushed the tarigo_android_12_fixes branch 2 times, most recently from 261d615 to 00c7817 Compare May 26, 2021 14:44
@tarigo tarigo requested a review from tobrun May 26, 2021 14:45
@tarigo tarigo force-pushed the tarigo_android_12_fixes branch from 00c7817 to f22b39f Compare May 26, 2021 15:42
@tarigo tarigo added the bug label May 26, 2021
@tarigo tarigo requested review from mr1sunshine and nagineni May 26, 2021 15:56
Copy link
Copy Markdown
Member

@tobrun tobrun left a comment

Choose a reason for hiding this comment

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

:shipit:

@tarigo tarigo merged commit 44f0159 into main May 27, 2021
@tarigo tarigo deleted the tarigo_android_12_fixes branch May 27, 2021 06:27
return PendingIntent.getBroadcast(applicationContext, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT);
int flags = PendingIntent.FLAG_UPDATE_CURRENT;
if (BuildCompat.isAtLeastS()) {
flags |= 33554432; //TODO: replace with PendingIntent.FLAG_MUTABLE after Android 12 release
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@tarigo Should we cut a ticket so we don't forget? BTW Android 12 is officially released 🎉

@wangyijenny
Copy link
Copy Markdown

I'm updating an app that used a very old version of mapbox. Do you know what the earliest version of Mapbox that would work with Android 12 is?

@tarigo
Copy link
Copy Markdown
Contributor Author

tarigo commented Aug 4, 2022

I'm updating an app that used a very old version of mapbox. Do you know what the earliest version of Mapbox that would work with Android 12 is?

https://github.com/mapbox/mapbox-events-android/releases/tag/telem-8.0.0-core-5.0.0

@Guardiola31337 Guardiola31337 changed the title [telemetry] Android 12 compartibility fixes. [telemetry] Android 12 compatibility fixes. Aug 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐞 Android 12: PendingIntent mutability

4 participants