commit | 672b052115c1979520a9c3d5598039a595b9a42c | [log] [tgz] |
---|---|---|
author | Janis Danisevskis <jdanis@google.com> | Fri Apr 22 13:34:20 2016 +0100 |
committer | Janis Danisevskis <jdanis@google.com> | Mon May 09 18:34:22 2016 +0000 |
tree | 0129fb8878bd84d32d140e13a239e683ab769794 | |
parent | de5a7afc7989ecef051635fdc9ae52a69870c026 [diff] |
Updates training/camera/photobasics.jd with FileProvider details As of Android N, passing file:// URIs across package boundaries throws a FileUriExposedException. This has caused frustration among app developers trying to use our example as boilerplate code. This patch replaces the "take picture" example with one that uses content:// URIs and FileProvider instead. Bug: 27636012 Change-Id: I9f0b4d9bbcd6b4bfa770dd1e4ad37f321e22195f