Skip to content

Commit

Permalink
hard-coded FLAG_MUTABLE because not available in older versions
Browse files Browse the repository at this point in the history
  • Loading branch information
shannah committed Nov 24, 2024
1 parent 69532a4 commit 96fe3d2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public class AndroidLocationPlayServiceManager extends com.codename1.location.Lo
LifecycleListener {



private static final int FLAG_MUTABLE = 33554432;
static class ParcelableUtil {
public static byte[] marshall(Parcelable parceable) {
Parcel parcel = Parcel.obtain();
Expand Down Expand Up @@ -482,7 +482,7 @@ private PendingIntent createGeofencePendingIntent(
AndroidNativeUtil.getContext().getApplicationContext(),
0,
intent,
PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_MUTABLE
PendingIntent.FLAG_UPDATE_CURRENT | FLAG_MUTABLE
);
return geofencePendingIntent;
} else {
Expand Down

0 comments on commit 96fe3d2

Please sign in to comment.