commit | 7e34b05b23683d154f8743fd1b4e64c3c165d46b | [log] [tgz] |
---|---|---|
author | Andrey Epin <ayepin@google.com> | Fri May 05 12:06:26 2023 -0700 |
committer | Andrey Epin <ayepin@google.com> | Fri May 05 12:13:01 2023 -0700 |
tree | b412985fc7e38aacbb053dd823d286ef18a11cd4 | |
parent | d572ef6c2ba73880edecd66c86835e78763d9400 [diff] |
Add test content provider to mock uri mime types Add a content provider that returns getType and getStreamTypes based on the URI query parameters. That allows us not to rely on the debug hook to override URI mime types, mock files with previes, and makes our integration tests more integral. Bug: 280237072 Test: tests themselves Change-Id: I70835439e8b8b41f4dc633f218d662c2bc42c3ae