test(photopicker): add CTS tests for API surface and file access
This commit introduces a new suite of CTS tests for the Photo Picker,
covering its public API behavior and file access characteristics.
The new tests are split into two classes:
- `PhotoPickerApiSurfaceTest`: Validates the picker's launch behavior
with various intents (`ACTION_PICK_IMAGES`, `ACTION_GET_CONTENT`) and
their extras. This includes tests for single and multiple selection,
item limits, MIME type handling, and other intent extras.
- `PhotoPickerFileAccessTest`: Verifies the properties of the URIs
returned by the picker. This includes tests for persistent URI
permission grants and redaction of location metadata from both image
and video files.
The necessary dependencies (`CtsPhotoPickerTestLib`, `kotlin-test`) are
also added to the test module's build file.
Bug: b/423559863
Test: atest CtsPhotoPickerTest
Flag: EXEMPT test_only
Change-Id: I792ea90a7279d8214974cab363d1356ee92119ae
3 files changed