Caused by: java.lang.IllegalArgumentException: com.luke.endoscope: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.
SDK31以上, 创建PendingIntent时, flag必须设置,请参考最新的api文档