Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import com.owncloud.android.lib.common.utils.Log_OC
import it.niedermann.owncloud.notes.R
import it.niedermann.owncloud.notes.edit.EditNoteActivity
import it.niedermann.owncloud.notes.persistence.NotesRepository
import it.niedermann.owncloud.notes.shared.util.WidgetUtil
import java.util.concurrent.ExecutorService
import java.util.concurrent.Executors
import androidx.core.net.toUri
Expand Down Expand Up @@ -97,8 +96,9 @@ class NoteListWidget : AppWidgetProvider() {
setPackage(context.packageName)
}

val pendingIntentFlags =
WidgetUtil.pendingIntentFlagCompat(PendingIntent.FLAG_UPDATE_CURRENT or Intent.FILL_IN_COMPONENT)
val pendingIntentFlags = PendingIntent.FLAG_UPDATE_CURRENT or
PendingIntent.FLAG_MUTABLE or
Intent.FILL_IN_COMPONENT
val editNotePendingIntent =
PendingIntent.getActivity(context, 0, editNoteIntent, pendingIntentFlags)

Expand Down