Fix null point exception on LocalMediaManager

- Use TextUtils.equal() to check string compare.
- Add test case.

Bug: 153144708
Test: make -j42 RunSettingsLibRoboTests
Change-Id: Iabaf4bc86bcf353e1dd86269c7add7690bae0bfe
2 files changed