Replace deprecated APIs.

The min SDK target is now 21 because of getDrawable change,
so this app will not install on KitKat.

Also, MediaCodecView is obsolete, so there is no need to change
getInput/OutputBiffers and INFO_OUTPUT_BUFFERS_CHANGED, which requires
additional refactoring effort.

bug: 26185358
Change-Id: If83a5fa0eefebb4932fcd4c03162ba2dd94a755e
This commit is contained in:
Edwin Wong
2015-12-16 17:43:26 -08:00
parent 8e4ad69cf0
commit d173791ccc
4 changed files with 21 additions and 21 deletions

View File

@@ -5,7 +5,7 @@
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-sdk android:minSdkVersion="12" android:targetSdkVersion="12" />
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="21" />
<application android:icon="@drawable/icon" android:label="@string/app_name" android:theme="@android:style/Theme.Holo.NoActionBar">
<activity android:name=".WidevineSamplePlayer"
android:label="@string/app_name"