mirror of
https://github.com/greenart7c3/Amber.git
synced 2026-10-06 03:18:23 +00:00
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:
@@ -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" />
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user