Add "throws IOException" to MediaCodec constructors

Change to add "throws IOException" to android.media.MediaCodec
(createByCodecName|createDecoderByType|createEncoderByType).  The exception was
previously thrown through the native JNI, but not explicitly declared.

Requires changes to existing code for declaration compatibility.

Bug: 11364276
Change-Id: Ide4231c75a135e5e16d3b4787a9f05d35135cdcd
Signed-off-by: Andy Hung <hunga@google.com>
7 files changed