The tech giant will now provide updates showing when apps access a device’s microphone and photos.