Cancel notifications when resuming main activity

This commit is contained in:
Juha Heinanen
2021-10-15 19:23:24 +03:00
parent 717847d48b
commit 6dff5d8883

View File

@ -796,6 +796,7 @@ class MainActivity : AppCompatActivity() {
override fun onResume() {
super.onResume()
Log.d(TAG, "Main onResume with action '$resumeAction'")
nm.cancelAll()
visible = true
when (resumeAction) {
"call show" ->