Skip to content

Commit 4b531dc

Browse files
authored
Merge pull request #4082 from google/dev-v2-r2.7.3
r2.7.3
2 parents 1c6149b + ccddacc commit 4b531dc

File tree

21 files changed

+39
-20
lines changed

21 files changed

+39
-20
lines changed

RELEASENOTES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release notes #
22

3+
### 2.7.3 ###
4+
5+
* Fix ProGuard configuration for Cast, IMA and OkHttp extensions.
6+
* Update OkHttp extension to depend on OkHttp 3.10.0.
7+
38
### 2.7.2 ###
49

510
* Gradle: Upgrade Gradle version from 4.1 to 4.4 so it can work with Android

constants.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
// limitations under the License.
1414
project.ext {
1515
// ExoPlayer version and version code.
16-
releaseVersion = '2.7.2'
17-
releaseVersionCode = 2702
16+
releaseVersion = '2.7.3'
17+
releaseVersionCode = 2703
1818
// Important: ExoPlayer specifies a minSdkVersion of 14 because various
1919
// components provided by the library may be of use on older devices.
2020
// However, please note that the core media playback functionality provided

demos/cast/build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ android {
2929
release {
3030
shrinkResources true
3131
minifyEnabled true
32-
proguardFiles getDefaultProguardFile('proguard-android.txt')
32+
proguardFiles = [
33+
"proguard-rules.txt",
34+
getDefaultProguardFile('proguard-android.txt')
35+
]
3336
}
3437
debug {
3538
jniDebuggable = true

demos/cast/proguard-rules.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Proguard rules specific to the Cast demo app.
2+
3+
# Accessed via menu.xml
4+
-keep class android.support.v7.app.MediaRouteActionProvider {
5+
*;
6+
}

demos/main/src/main/java/com/google/android/exoplayer2/demo/PlayerActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ private void updateButtonVisibilities() {
550550
button.setText(label);
551551
button.setTag(i);
552552
button.setOnClickListener(this);
553-
debugRootView.addView(button, debugRootView.getChildCount() - 1);
553+
debugRootView.addView(button);
554554
}
555555
}
556556
}

extensions/cast/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ android {
2121
defaultConfig {
2222
minSdkVersion 14
2323
targetSdkVersion project.ext.targetSdkVersion
24-
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
24+
consumerProguardFiles 'proguard-rules.txt'
2525
}
2626
}
2727

extensions/cast/proguard-rules.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Proguard rules specific to the Cast extension.
2+
3+
# DefaultCastOptionsProvider is commonly referred to only by the app's manifest.
4+
-keep class com.google.android.exoplayer2.ext.cast.DefaultCastOptionsProvider

extensions/cast/src/test/AndroidManifest.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
-->
1616

1717
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18-
xmlns:tools="http://schemas.android.com/tools"
1918
package="com.google.android.exoplayer2.ext.cast.test">
2019

2120
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="26"/>

extensions/cronet/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ android {
2121
defaultConfig {
2222
minSdkVersion project.ext.minSdkVersion
2323
targetSdkVersion project.ext.targetSdkVersion
24-
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
2524
}
2625

2726
sourceSets.main {

extensions/cronet/src/test/AndroidManifest.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
-->
1616

1717
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18-
xmlns:tools="http://schemas.android.com/tools"
1918
package="com.google.android.exoplayer2.ext.cronet">
2019

2120
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="26"/>

0 commit comments

Comments
 (0)