Delay in messages and Crash Report [targetSDK=36 requires all of the permissions FOREGROUND_SERVICE_CAMERA]

Hello! I was having some kind of delay with the reception of messages, first in Delta Chat app and same in Arcane Chat app now. But, today I see a Crash Report. I dont know if the same problem. But here the report… I have a Motorola G54. Thanks in advance,

ArcaneChat 2.49.0-foss Crash Report

Android 15:
java.lang.SecurityException: Starting FGS with type camera callerApp=ProcessRecord{90ddf04 30475:chat.delta.lite/u0a122} targetSDK=36 requires permissions: all of the permissions allOf=true [android.permission.FOREGROUND_SERVICE_CAMERA] any of the permissions allOf=false [android.permission.CAMERA, android.permission.SYSTEM_CAMERA] and the app must be in the eligible state/exemptions to access the foreground only permission
at android.os.Parcel.createExceptionOrNull(Parcel.java:3241)
at android.os.Parcel.createException(Parcel.java:3225)
at android.os.Parcel.readException(Parcel.java:3208)
at android.os.Parcel.readException(Parcel.java:3150)
at android.app.IActivityManager$Stub$Proxy.setServiceForeground(IActivityManager.java:7326)
at android.app.Service.startForeground(Service.java:776)
at F6.u.w(SourceFile:242)
at F6.r.onServiceConnected(SourceFile:140)
at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:2228)
at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:2261)
at android.os.Handler.handleCallback(Handler.java:1001)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loopOnce(Looper.java:268)
at android.os.Looper.loop(Looper.java:384)
at android.app.ActivityThread.main(ActivityThread.java:8936)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:907)
Caused by: android.os.RemoteException: Remote stack trace:
at com.android.server.am.ActiveServices.validateForegroundServiceType(ActiveServices.java:2921)
at com.android.server.am.ActiveServices.setServiceForegroundInnerLocked(ActiveServices.java:2605)
at com.android.server.am.ActiveServices.setServiceForegroundLocked(ActiveServices.java:1859)
at com.android.server.am.ActivityManagerService.setServiceForeground(ActivityManagerService.java:14540)
at android.app.IActivityManager$Stub.onTransact$setServiceForeground$(IActivityManager.java:12183)

-​-------- beginning of main
05-12 09:16:04.531 29939 29955 :blue_circle: DeltaChat: [accId=1] src/imap.rs:819: 0 mails read from “INBOX”.
05-12 09:16:04.531 29939 29955 :blue_circle: DeltaChat: [accId=1] src/imap.rs:828: available_post_msgs: 0, download_later: 0.
05-12 09:16:05.036 29939 29939 :orange_circle: o1 : onCreate(null)
05-12 09:16:05.039 29939 29939 :blue_circle: AppCompatDelegate: You should now use the AppCompatDelegate.FEATURE_SUPPORT_ACTION_BAR_OVERLAY id when requesting this feature.
05-12 09:16:05.048 29939 29939 :red_circle: chat.delta.lite: hiddenapi: Accessing hidden field Landroid/view/View;->mAttachInfo:Landroid/view/View$AttachInfo; (runtime_flags=0, domain=platform, api=max-target-p) from LG6/x; (domain=app, TargetSdkVersion=36) using reflection: denied
05-12 09:16:05.085 29939 29939 :blue_circle: MediaController: Init 2e558a6 [AndroidXMedia3/1.8.0] [cancunf, moto g54 5G, motorola, 35]
05-12 09:16:05.089 29939 29939 :blue_circle: ConversationActivity: handleSecurityChange(false, true)
05-12 09:16:05.102 29939 29939 :blue_circle: z0 : :alarm_clock: getChatMsgs(12): 1ms
05-12 09:16:05.103 29939 29939 :orange_circle: WindowOnBackDispatcher: OnBackInvokedCallback is not enabled for the application.
05-12 09:16:05.103 29939 29939 :orange_circle: WindowOnBackDispatcher: Set ‘android:enableOnBackInvokedCallback=“true”’ in the application manifest.
05-12 09:16:05.115 29939 29939 :blue_circle: x : Updating view inset based on WindowInsets. viewInset: 117 windowInset: 120
05-12 09:16:05.141 29939 29955 :blue_circle: DeltaChat: [accId=1] src/imap.rs:1883: “INBOX”: got unsolicited response Other(ResponseData { raw: 4096, response: Data { status: Ok, code: Some(HighestModSeq(87)), information: Some(“Highest”) } })
05-12 09:16:05.297 29939 29939 :blue_circle: ExoPlayerImpl: Init fe4ac7e [AndroidXMedia3/1.8.0] [cancunf, moto g54 5G, motorola, 35]
05-12 09:16:05.309 29939 29939 :blue_circle: MediaSessionImpl: Init 2279b71 [AndroidXMedia3/1.8.0] [cancunf, moto g54 5G, motorola, 35]
05-12 09:16:05.311 29939 29939 :blue_circle: MediaSessionCompat: Couldn’t find a unique registe

1 Like

This is a known problem related to calls, it is going to be fixed in 2.50.

1 Like