Friday, 19 March 2021

Context.startForegroundService() did not then call Service.startForeground() only on Android 11 Samsung devices

I am getting this crash for only Samsung devices running android 11. Apparently the application is calling startForegroundService(intent) and requiring me to post a notification for the user to know that I am running a foreground service, but this call to startForegroundService(intent) was never made in the app source code, is it possible that Samsung made a custom implementation of android 11 and automatically calls startForegroundService(intent) whenever I call startService(intent)?



from Context.startForegroundService() did not then call Service.startForeground() only on Android 11 Samsung devices

No comments:

Post a Comment