ChatSE
ChatSE copied to clipboard
Replace deprecated getRunningTasks with another solution
In IncomingEventService, getRunningTasks
is deprecated. This is used to get the foregroundTaskInfo and determine if our app is in the foreground.
We need a non-deprecated way to do this.