Track MediaProvider locally

Change-Id: I0e6ddf8e6429c4c68e1a81c219661275272acc26