Track MediaProvider locally

Change-Id: I6f3abd7364edf9c5e009bb8144c9cddace5908b9