From 40f34956a836557ba7dac681984bb076658715f1 Mon Sep 17 00:00:00 2001 From: olly Date: Thu, 10 Aug 2017 09:34:25 -0700 Subject: [PATCH] Bump minimum and target API levels + support lib version ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=164863447 --- constants.gradle | 12 ++++++------ demos/main/src/main/AndroidManifest.xml | 2 +- .../cronet/src/androidTest/AndroidManifest.xml | 2 +- .../flac/src/androidTest/AndroidManifest.xml | 2 +- .../opus/src/androidTest/AndroidManifest.xml | 2 +- extensions/vp9/src/androidTest/AndroidManifest.xml | 2 +- .../exoplayer2/ext/vp9/VpxVideoSurfaceView.java | 2 -- library/core/src/androidTest/AndroidManifest.xml | 2 +- library/dash/src/androidTest/AndroidManifest.xml | 2 +- library/hls/src/androidTest/AndroidManifest.xml | 2 +- .../src/androidTest/AndroidManifest.xml | 2 +- .../android/exoplayer2/ui/PlaybackControlView.java | 14 ++------------ playbacktests/src/androidTest/AndroidManifest.xml | 2 +- .../android/exoplayer2/testutil/HostActivity.java | 9 +-------- 14 files changed, 19 insertions(+), 38 deletions(-) diff --git a/constants.gradle b/constants.gradle index b7cc8b69066..576091f9371 100644 --- a/constants.gradle +++ b/constants.gradle @@ -12,16 +12,16 @@ // See the License for the specific language governing permissions and // limitations under the License. project.ext { - // Important: ExoPlayer specifies a minSdkVersion of 9 because various + // Important: ExoPlayer specifies a minSdkVersion of 14 because various // components provided by the library may be of use on older devices. // However, please note that the core media playback functionality provided // by the library requires API level 16 or greater. - minSdkVersion = 9 - compileSdkVersion = 25 - targetSdkVersion = 25 - buildToolsVersion = '25' + minSdkVersion = 14 + compileSdkVersion = 26 + targetSdkVersion = 26 + buildToolsVersion = '26' testSupportLibraryVersion = '0.5' - supportLibraryVersion = '25.4.0' + supportLibraryVersion = '26.0.1' dexmakerVersion = '1.2' mockitoVersion = '1.9.5' releaseVersion = 'r2.5.1' diff --git a/demos/main/src/main/AndroidManifest.xml b/demos/main/src/main/AndroidManifest.xml index 1f66822dc70..4f90cef623d 100644 --- a/demos/main/src/main/AndroidManifest.xml +++ b/demos/main/src/main/AndroidManifest.xml @@ -23,7 +23,7 @@ - + - + - + - + - + - + - + - + - + = 11) { - setViewAlphaV11(view, enabled ? 1f : 0.3f); - view.setVisibility(VISIBLE); - } else { - view.setVisibility(enabled ? VISIBLE : INVISIBLE); - } - } - - @TargetApi(11) - private void setViewAlphaV11(View view, float alpha) { - view.setAlpha(alpha); + view.setAlpha(enabled ? 1f : 0.3f); + view.setVisibility(VISIBLE); } private void previous() { diff --git a/playbacktests/src/androidTest/AndroidManifest.xml b/playbacktests/src/androidTest/AndroidManifest.xml index 053fe4e61cd..1a660591d88 100644 --- a/playbacktests/src/androidTest/AndroidManifest.xml +++ b/playbacktests/src/androidTest/AndroidManifest.xml @@ -21,7 +21,7 @@ - +