Running stock LineageOS 18.1, and I observe the following printed in logcat every time a message is received, whether the app is in focus or in the background.
02-07 08:11:04.735 22040 22610 W System.err: java.lang.IllegalStateException: Not initialized yet
02-07 08:11:04.736 22040 22610 W System.err: at androidx.emoji2.text.EmojiCompat.process(SourceFile:33)
02-07 08:11:04.736 22040 22610 W System.err: at androidx.emoji2.text.EmojiCompat.process(SourceFile:34)
02-07 08:11:04.736 22040 22610 W System.err: at com.ubergeek42.WeechatAndroid.relay.Line.ensureSpannable(SourceFile:380)
02-07 08:11:04.736 22040 22610 W System.err: at com.ubergeek42.WeechatAndroid.relay.BufferList$$ExternalSyntheticLambda1.handleMessage(SourceFile:344)
02-07 08:11:04.736 22040 22610 W System.err: at com.ubergeek42.weechat.relay.connection.RelayConnection$$ExternalSyntheticLambda4.run(SourceFile:96)
02-07 08:11:04.736 22040 22610 W System.err: at androidx.core.app.ActivityCompat$$ExternalSyntheticLambda0.run(SourceFile:538)
02-07 08:11:04.736 22040 22610 W System.err: at com.ubergeek42.weechat.relay.connection.Utils$FriendlyThread.run(Unknown Source:7)
Running stock LineageOS 18.1, and I observe the following printed in logcat every time a message is received, whether the app is in focus or in the background.
According to https://developer.android.com/reference/androidx/emoji/text/EmojiCompat#process(java.lang.CharSequence,int,int,int,int) process() throws IllegalStateException because init() has not been called.