Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Jan 23, 2026

Backport of PR #5742

@backportbot backportbot bot requested review from mahibi and sowjanyakch January 23, 2026 08:07
@backportbot backportbot bot added the 3. to review Waiting for reviews label Jan 23, 2026
@backportbot backportbot bot added this to the 23.0.0 milestone Jan 23, 2026
Exception java.lang.RuntimeException:
  at android.app.ActivityThread.handleServiceArgs (ActivityThread.java:5299)
  at android.app.ActivityThread.-$$Nest$mhandleServiceArgs (Unknown Source)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2584)
  at android.os.Handler.dispatchMessage (Handler.java:112)
  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
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:580)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:907)
Caused by java.lang.SecurityException:
  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:863)
  at com.nextcloud.talk.services.CallForegroundService.onStartCommand (CallForegroundService.kt:40)
  at android.app.ActivityThread.handleServiceArgs (ActivityThread.java:5281)
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)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
@github-actions
Copy link
Contributor

Codacy

Lint

TypemasterPR
Warnings9999
Errors02

SpotBugs

CategoryBaseNew
Bad practice66
Correctness1010
Dodgy code5454
Internationalization33
Malicious code vulnerability33
Performance44
Security11
Total8181

Lint increased!

@github-actions
Copy link
Contributor

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/5749.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.

@mahibi mahibi merged commit 2773d74 into stable-23.0 Jan 23, 2026
13 of 14 checks passed
@mahibi mahibi deleted the backport/5742/stable-23.0 branch January 23, 2026 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant