Give PhotoUploaderPreview access to log function

Change-Id: I3ebf8f2aefdfa8605da533f3e3af7046458e198f
Merge "Give PhotoUploaderPreview access to log function"