We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 384c7a8 commit f0c7da7Copy full SHA for f0c7da7
app/src/main/java/it/niedermann/owncloud/notes/shared/util/WidgetUtil.java
@@ -28,6 +28,9 @@ private WidgetUtil() {
28
* @return {@param flags} | {@link PendingIntent#FLAG_MUTABLE}
29
*/
30
public static int pendingIntentFlagCompat(int flags) {
31
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE) {
32
+ return flags | PendingIntent.FLAG_IMMUTABLE;
33
+ }
34
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
35
return flags | PendingIntent.FLAG_MUTABLE;
36
}
0 commit comments