commit | 4fc388dd6f7f74d8350d77c903d9e30466c40bdb | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Fri Mar 08 18:24:21 2019 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Fri Mar 08 18:36:21 2019 -0700 |
tree | 99b7fe279ea110fc713638c6dbe1d01154b06c65 | |
parent | dceceaecc07ee2d2b1b1b780fd9005795cb6c977 [diff] |
Gracefully handle apps passing in invalid paths. We've seen apps try crossing the streams between volumes; we still don't allow this to happen, but we'll return sane values to legacy apps that aren't ready to have an exception thrown at them. Bug: 126104805 Test: atest MediaProviderTests Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore* Change-Id: I183a607e6027da14eb0844fdbc2cded7c1c3c6fe