Parts: Fix writing profile to NFC tag

For NFC tag writing, we require a mutable intent.

Change-Id: I1bce12f0eaa477282e3a9d9147b06d02311fffe6
diff --git a/src/org/lineageos/lineageparts/profiles/NFCProfileWriter.java b/src/org/lineageos/lineageparts/profiles/NFCProfileWriter.java
index e2b9b65..fdb89a0 100644
--- a/src/org/lineageos/lineageparts/profiles/NFCProfileWriter.java
+++ b/src/org/lineageos/lineageparts/profiles/NFCProfileWriter.java
@@ -72,7 +72,7 @@
     private PendingIntent getPendingIntent() {
         return PendingIntent.getActivity(this, 0,
                 new Intent(this, getClass()).addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP),
-                        PendingIntent.FLAG_IMMUTABLE);
+                        PendingIntent.FLAG_MUTABLE);
     }
 
     private void disableTagWriteMode() {
diff --git a/src/org/lineageos/lineageparts/profiles/triggers/NfcTriggerFragment.java b/src/org/lineageos/lineageparts/profiles/triggers/NfcTriggerFragment.java
index 2807cf6..615134d 100644
--- a/src/org/lineageos/lineageparts/profiles/triggers/NfcTriggerFragment.java
+++ b/src/org/lineageos/lineageparts/profiles/triggers/NfcTriggerFragment.java
@@ -81,7 +81,7 @@
         Activity activity = requireActivity();
         Intent intent = new Intent(activity, activity.getClass())
                 .addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP);
-        return PendingIntent.getActivity(requireActivity(), 0, intent, PendingIntent.FLAG_IMMUTABLE);
+        return PendingIntent.getActivity(requireActivity(), 0, intent, PendingIntent.FLAG_MUTABLE);
     }
 
     private void disableTagWriteMode() {