jellyfin / jellyfin-android

Android Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
1.47k stars 243 forks source link

app quits unexpectedly #1399

Open DemoRain opened 4 months ago

DemoRain commented 4 months ago

Describe the bug

on Android 14 Abnormal exit

Logs

FATAL EXCEPTION: GoogleApiHandler
                                                                                                    Process: org.jellyfin.mobile.debug, PID: 29932
                                                                                                    java.lang.IllegalArgumentException: org.jellyfin.mobile.debug: Targeting U+ (version 34 and above) disallows creating or retrieving a PendingIntent with FLAG_MUTABLE, an implicit Intent within and without FLAG_NO_CREATE and FLAG_ALLOW_UNSAFE_IMPLICIT_INTENT for security reasons. To retrieve an already existing PendingIntent, use FLAG_NO_CREATE, however, to create a new PendingIntent with an implicit Intent use FLAG_IMMUTABLE.
                                                                                                        at android.os.Parcel.createExceptionOrNull(Parcel.java:3061)
                                                                                                        at android.os.Parcel.createException(Parcel.java:3041)
                                                                                                        at android.os.Parcel.readException(Parcel.java:3024)
                                                                                                        at android.os.Parcel.readException(Parcel.java:2966)
                                                                                                        at android.app.IActivityManager$Stub$Proxy.getIntentSenderWithFeature(IActivityManager.java:7087)
                                                                                                        at java.lang.reflect.Method.invoke(Native Method)
                                                                                                        at leakcanary.ServiceWatcher$install$4$2.invoke(ServiceWatcher.kt:93)
                                                                                                        at java.lang.reflect.Proxy.invoke(Proxy.java:1006)
                                                                                                        at $Proxy6.getIntentSenderWithFeature(Unknown Source)
                                                                                                        at android.app.PendingIntent.getActivityAsUser(PendingIntent.java:551)
                                                                                                        at android.app.PendingIntent.getActivity(PendingIntent.java:532)
                                                                                                        at android.app.PendingIntent.getActivity(PendingIntent.java:496)
                                                                                                        at com.google.android.gms.internal.common.zzd.zza(com.google.android.gms:play-services-basement@@18.0.0:1)
                                                                                                        at com.google.android.gms.common.GoogleApiAvailabilityLight.getErrorResolutionPendingIntent(com.google.android.gms:play-services-basement@@18.0.0:3)
                                                                                                        at com.google.android.gms.common.GoogleApiAvailabilityLight.getErrorResolutionPendingIntent(com.google.android.gms:play-services-basement@@18.0.0:1)
                                                                                                        at com.google.android.gms.common.GoogleApiAvailability.getErrorResolutionPendingIntent(com.google.android.gms:play-services-base@@18.0.1:1)
                                                                                                        at com.google.android.gms.common.GoogleApiAvailability.getErrorResolutionPendingIntent(com.google.android.gms:play-services-base@@18.0.1:4)
                                                                                                        at com.google.android.gms.common.GoogleApiAvailability.zah(com.google.android.gms:play-services-base@@18.0.1:2)
                                                                                                        at com.google.android.gms.common.api.internal.GoogleApiManager.zaG(com.google.android.gms:play-services-base@@18.0.1:1)
                                                                                                        at com.google.android.gms.common.api.internal.zabq.zar(com.google.android.gms:play-services-base@@18.0.1:21)
                                                                                                        at com.google.android.gms.common.api.internal.zabq.zao(com.google.android.gms:play-services-base@@18.0.1:13)
                                                                                                        at com.google.android.gms.common.api.internal.zabq.zap(com.google.android.gms:play-services-base@@18.0.1:8)
                                                                                                        at com.google.android.gms.common.api.internal.GoogleApiManager.handleMessage(com.google.android.gms:play-services-base@@18.0.1:64)
                                                                                                        at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                                                        at android.os.Looper.loopOnce(Looper.java:224)
                                                                                                        at android.os.Looper.loop(Looper.java:318)
                                                                                                        at android.os.HandlerThread.run(HandlerThread.java:67)
                                                                                                    Caused by: android.os.RemoteException: Remote stack trace:
                                                                                                        at com.android.server.am.ActivityManagerService.getIntentSenderWithFeatureAsApp(ActivityManagerService.java:5659)
                                                                                                        at com.android.server.am.ActivityManagerService.getIntentSenderWithFeature(ActivityManagerService.java:5602)
                                                                                                        at android.app.IActivityManager$Stub.onTransact$getIntentSenderWithFeature$(IActivityManager.java:12670)
                                                                                                        at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:3532)
                                                                                                        at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2859)

Application version

2.6.1

Where did you install the app from?

None

Device information

xiaomi 14 ultra

Android version

android14 ,xiaomi hyperOs 1.0.9.0UNACNXM

Jellyfin server version

10.8.13

Which video player implementations does this bug apply to?

jellyfin-bot commented 4 days ago

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.

If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.

This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.