We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da11f89 commit 0d50381Copy full SHA for 0d50381
app/src/main/java/it/niedermann/owncloud/notes/shared/util/WidgetUtil.java
@@ -28,9 +28,7 @@ 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
- } else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
34
return flags | PendingIntent.FLAG_MUTABLE;
35
}
36
return flags;
0 commit comments