Fix xwalk 1474 to add permission for media