Merge "Unify permissions under UPDATE_DEVICE_STATS."