commit | 3df87f9c9e97aa3ac5d9d8cc3930df292840af57 | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Fri Apr 10 18:05:13 2020 +0100 |
committer | Vikas Marwaha <vikasmarwaha@google.com> | Wed Jul 15 23:18:45 2020 +0000 |
tree | 65804eb79d0e917cfe0363979e2c575ba8e624dd | |
parent | 8bdcf5aabc109c64564069f890ec8e2233187ab8 [diff] |
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
See instructions in cdd_gen.sh