-
-
Save Arunshaik2001/0df4f949cab2afdafe3a2ecfd8914e7a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val resultIntent = Intent(context, MainActivity2::class.java) | |
val resultPendingIntent: PendingIntent? = TaskStackBuilder.create(context).run { | |
addNextIntentWithParentStack(resultIntent) | |
getPendingIntent(0, | |
PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_IMMUTABLE) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment