FATAL EXCEPTION: ConnectThreadSecure
Process: io.treehouses.remote, PID: 27684
android.app.MissingForegroundServiceTypeException: Starting FGS without a type callerApp=ProcessRecord{f9bd4ad 27684:io.treehouses.remote/u0a364} targetSDK=34
at android.app.MissingForegroundServiceTypeException$1.createFromParcel(MissingForegroundServiceTypeException.java:53)
at android.app.MissingForegroundServiceTypeException$1.createFromParcel(MissingForegroundServiceTypeException.java:49)
at android.os.Parcel.readParcelableInternal(Parcel.java:4870)
at android.os.Parcel.readParcelable(Parcel.java:4852)
at android.os.Parcel.createExceptionOrNull(Parcel.java:3052)
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.setServiceForeground(IActivityManager.java:6790)
at android.app.Service.startForeground(Service.java:775)
at io.treehouses.remote.bases.BaseBluetoothChatService.startNotification(BaseBluetoothChatService.kt:93)
at io.treehouses.remote.network.BluetoothChatService.connected(BluetoothChatService.kt:178)
at io.treehouses.remote.network.BluetoothChatService$ConnectThread.run(BluetoothChatService.kt:288)