Merge pull request #320 from greenart7c3/claude/fix-bunker-notification-activity-mcFN8

Fix notification intent flags and task affinity for SignerActivity
This commit is contained in:
greenart7c3
2026-03-11 08:22:29 -03:00
committed by GitHub
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -39,6 +39,7 @@
<activity
android:name=".SignerActivity"
android:exported="true"
android:taskAffinity=""
android:theme="@style/Theme.NostrSigner.Modal">
<intent-filter>
<action android:name="com.greenart7c3.nostrsigner.MAIN_ACTIVITY" />
+1
View File
@@ -71,6 +71,7 @@
<activity
android:name=".SignerActivity"
android:exported="true"
android:taskAffinity=""
android:theme="@style/Theme.NostrSigner.Modal">
<intent-filter>
<action android:name="com.greenart7c3.nostrsigner.MAIN_ACTIVITY" />
@@ -151,7 +151,7 @@ object NotificationUtils {
val contentIntent = Intent(applicationContext, SignerActivity::class.java)
contentIntent.putExtra("route", Route.IncomingRequest.route)
contentIntent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP or Intent.FLAG_ACTIVITY_CLEAR_TOP)
contentIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_SINGLE_TOP or Intent.FLAG_ACTIVITY_CLEAR_TOP)
val contentPendingIntent =
PendingIntent.getActivity(
applicationContext,