commit 778e73d385acb740d718567996f0665e29e8749d parent 3661e3e2bc0bfbf5796af625aec5a1f0181b8f1b Author: Iván Ávalos <avalos@disroot.org> Date: Tue, 18 Aug 2026 16:23:58 +0200 [pos] clear the NFC payload when the activity is destroyed The payload now outlives the service, so stopping the service no longer drops it. Diffstat:
| M | merchant-terminal/src/main/java/net/taler/merchantpos/MainActivity.kt | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/merchant-terminal/src/main/java/net/taler/merchantpos/MainActivity.kt b/merchant-terminal/src/main/java/net/taler/merchantpos/MainActivity.kt @@ -171,6 +171,8 @@ class MainActivity : AppCompatActivity() { override fun onDestroy() { super.onDestroy() + // the payload outlives the service, so stopping it is no longer enough + TalerNfcService.clearNdefPayload(this) TalerNfcService.stopService(this) }