Problems with two active instances
|Reported by:||dsd||Owned by:||dsd|
|Priority:||Unspecified by Maintainer||Milestone:||Unspecified|
Even with the code that I just pushed to master which releases the audio/camera when the activity is no longer active, you cannot switch directly between 2 instances of the Record activity. The second one does not "win" the camera as it should.
I suspect this is because the events are not being delivered int he right order (is the 2nd instance being told that it is visible before the 1st instance is told that it is obscure?), or that simply not enough time is left for the first one to release the resources before the second instance picks them up (not really sure how this is supposed to work).
Also see #2570 which must be fixed before we have a smooth multiple-instances experience.