UpdateAppUtils icon indicating copy to clipboard operation
UpdateAppUtils copied to clipboard

Targeting 31. 下载报错,建议发布一个2.4.0版本,急等!!!

Open wanyongqiang opened this issue 1 year ago • 0 comments

java.lang.IllegalArgumentException

com.bbj.elearning: 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.

val pendingIntent = PendingIntent.getBroadcast(context, REQUEST_CODE, intent, PendingIntent.FLAG_CANCEL_CURRENT)

此方法能优化下吗?谢谢

wanyongqiang avatar Dec 29 '23 06:12 wanyongqiang