我有一个应用程序,可以通过 QR 码在最高 Android 12 的设备上成功设置为设备所有者,现在我为 android 12 添加了两个类似此链接的活动:Android 12 Device Owner Provisioning。并且设备所有者设置已完成,但是当我想运行我的应用程序时出现此错误:(而且我没有任何待处理的意图)
java.lang.IllegalArgumentException: io.phoenixdev.afw.emm: 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.```