diff options
| author | greenart7c3 <greenart7c3@proton.me> | 2024-11-01 08:03:10 -0300 |
|---|---|---|
| committer | greenart7c3 <greenart7c3@proton.me> | 2024-11-01 08:03:30 -0300 |
| commit | 061d2ac47d79819e0efa938f231f2511ac40b419 (patch) | |
| tree | b7299a9f608640283c11a3b293c61eaaddeb4aa7 /55.md | |
| parent | 5bcb2d834a8533ae657606a42d91169661e06369 (diff) | |
Add intent flags
Diffstat (limited to '55.md')
| -rw-r--r-- | 55.md | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -72,6 +72,12 @@ Set the Signer package name: | |||
| 72 | intent.`package` = "com.example.signer" | 72 | intent.`package` = "com.example.signer" |
| 73 | ``` | 73 | ``` |
| 74 | 74 | ||
| 75 | If you are sending multiple intents without awaiting you can add some intent flags to sign all events without opening multiple times the signer | ||
| 76 | |||
| 77 | ```kotlin | ||
| 78 | intent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP or Intent.FLAG_ACTIVITY_CLEAR_TOP) | ||
| 79 | ``` | ||
| 80 | |||
| 75 | Send the Intent: | 81 | Send the Intent: |
| 76 | 82 | ||
| 77 | ```kotlin | 83 | ```kotlin |