Skip to content

Not working on Android S #4

Open

Description

@dprh

Logs:
java.lang.IllegalArgumentException: com.perform_vr.miragym.remote: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.
at android.app.PendingIntent.checkFlags(PendingIntent.java:382)
at android.app.PendingIntent.getActivityAsUser(PendingIntent.java:465)
at android.app.PendingIntent.getActivity(PendingIntent.java:451)
at android.app.PendingIntent.getActivity(PendingIntent.java:415)
at com.artwl.update.DownloadService.updateProgress(DownloadService.java:162)
at com.artwl.update.DownloadService.onHandleIntent(DownloadService.java:114)

Activity

  1. dprh commented on Feb 21, 2024

    @dprh
    Author

    I corrected it and updated to androidX etc. Can push the update if you give me access.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions