Skip to content
Commit a0a955f8 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

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
parent 55a17dca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment