Improving stability of media source change detection.

Bug: 77691690
Test: Tested checking sources back and forth on the emulator.
Change-Id: Ib42bc910508790ddc7f878a947ce26c9c3a35593
2 files changed