diff options
author | Jeff Sharkey <jsharkey@android.com> | 2019-02-13 15:35:37 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2019-02-13 15:35:39 -0700 |
commit | a0a955f814307c65c872ad6d02e008e6ad2b5a6e (patch) | |
tree | 9178fb85383a45934f15a6f63d0733fae1408212 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 55a17dca19d21b828bbec03d4bb08fcd413fb414 (diff) |
Set MediaPlayer sources in more direct fashion.
As part of the isolated storage work in Q, some filesystem paths
don't actually exist. It's safer to simply try opening the file
and let FileInputStream throw a FileNotFoundException.
This change results in more descriptive errors to developers,
without changing the behavior of throwing an IOException if the
file doesn't exist.
Bug: 124208701
Test: manual
Change-Id: I4710a55431d8dc6cb96561f551b34892d8c15ba5
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions