CDD: Change for camera intent handling

Specify that only preinstalled apps may handle the following
intents :
- MediaStore.ACTION_IMAGE_CAPTURE
- MediaStore.ACTION_IMAGE_CAPTURE_SECURE
- MediaStore.ACTION_VIDEO_CAPTURE

Apps requesting image or video capture via ACTION_IMAGE_CAPTURE,
ACTION_IMAGE_CAPTURE_SECURE, ACTION_VIDEO_CAPTURE and
ACTION_VIDEO_CAPTURE_SECURE can optionally pass in a URI via
an intent extra (EXTRA_OUTPUT) or by setting clip
data (Intent#setClipData). Images or videos captured using this
mechanism may contain location info their EXIF metadata depending
on the implementation of the app handling these intents
The intention behind this change is to prevent EXIF metadata
being leaked to apps that don’t hold the location permission.
Hence, restricting these intents in R to only pre-installed apps.

Test: none
Bug: 147582001
Change-Id: I0b9cbcf478fcba063e9d42c0bf64f782d9b7bc0a
1 file changed