diff options
author | Gopalakrishnan Nallasamy <gokrishnan@google.com> | 2019-12-09 20:54:42 -0800 |
---|---|---|
committer | Gopalakrishnan Nallasamy <gokrishnan@google.com> | 2019-12-19 21:58:12 -0800 |
commit | 1ec633dbcb4271de7e2bc9068f5640559c3cbbcc (patch) | |
tree | 3a88b743d3b717d6fedf45c6f115c680ec70d04d /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 0d52f4202ca7ec1f06fcd5b0b3661130aae29332 (diff) |
MediaMuxerJNI:Throw relevant exception on error
MediaMuxerJNI throws more relevant Exception when native MediaMuxer reports
ERROR_IO or ERROR_MALFORMED.
Bug: 135685864
Test: 1) atest android.media.cts.MediaMuxerTest
2) Filled up sdcard memory on phone and tried to compose large file using MediaMuxer.
Writing was stopped when ::write failed because sdcard memory ran out and corresponding
exception thrown in test app.( Pre-allocation was disabled).
3) Same as step 2 with pre-allocation enabled, expected error
was reported and corresponding exception was thrown.
Change-Id: I07d2872585b5d0a328512c3a6eb5d73b8e4540b3
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions