Persistent Flow Subscription: Each time handleMultimediaActions is called, a new subscription to the multimediaAction flow is created, leading to multiple active observers.
Race Condition: When an action is emitted, all active subscriptions are notified, causing the action to be handled multiple times.
Fixes
Fixes #17453
Approach
Keep track of the job
How Has This Been Tested?
Tested on Google emulator API35
Checklist
Please, go through these checks before submitting the PR.
[x] You have a descriptive commit message with a short title (first line, max 50 chars).
[x] You have commented your code, particularly in hard-to-understand areas
[x] You have performed a self-review of your own code
[ ] UI changes: include screenshots of all affected screens (in particular showing any new or changed strings)
Purpose / Description
Root Cause of the issue was:
Fixes
Approach
Keep track of the job
How Has This Been Tested?
Tested on Google emulator API35
Checklist
Please, go through these checks before submitting the PR.