0% found this document useful (0 votes)
7 views1 page

Pro Guard

This document contains Proguard rules to keep specific classes and methods for the DataSource module in ExoPlayer. It specifies rules to keep constant folding and constructors accessed via reflection.

Uploaded by

tkmpantera
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views1 page

Pro Guard

This document contains Proguard rules to keep specific classes and methods for the DataSource module in ExoPlayer. It specifies rules to keep constant folding and constructors accessed via reflection.

Uploaded by

tkmpantera
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

# Proguard rules specific to the DataSource module.

# Constant folding for resource integers may mean that a resource passed to this
method appears to be unused. Keep the method to prevent this from happening.
-keepclassmembers class
com.google.android.exoplayer2.upstream.RawResourceDataSource {
public static android.net.Uri buildRawResourceUri(int);
}

# Constructors accessed via reflection in DefaultDataSource


-dontnote com.google.android.exoplayer2.ext.rtmp.RtmpDataSource
-keepclassmembers class com.google.android.exoplayer2.ext.rtmp.RtmpDataSource {
<init>();
}

You might also like