new release

This commit is contained in:
Page Asgardius 2022-12-26 16:15:57 -07:00
parent 7521067d3f
commit d7811c8914
2 changed files with 3 additions and 3 deletions

View file

@ -9,8 +9,8 @@ android {
applicationId "asgardius.page.s3manager" applicationId "asgardius.page.s3manager"
minSdk 23 minSdk 23
targetSdk 33 targetSdk 33
versionCode 47 versionCode 48
versionName "0.4.1" versionName "0.4.2"
setProperty("archivesBaseName", "s3-manager-$versionName") setProperty("archivesBaseName", "s3-manager-$versionName")
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

View file

@ -127,7 +127,7 @@ public class VideoPlayer extends AppCompatActivity {
new CacheDataSource.Factory() new CacheDataSource.Factory()
.setCache(simpleCache) .setCache(simpleCache)
.setUpstreamDataSourceFactory(new DefaultHttpDataSource.Factory() .setUpstreamDataSourceFactory(new DefaultHttpDataSource.Factory()
.setUserAgent("ExoplayerDemo")) .setUserAgent("S3 Manager"))
.setFlags(CacheDataSource.FLAG_IGNORE_CACHE_ON_ERROR) .setFlags(CacheDataSource.FLAG_IGNORE_CACHE_ON_ERROR)
).createMediaSource(MediaItem.fromUri(Uri.parse(videoURL))); ).createMediaSource(MediaItem.fromUri(Uri.parse(videoURL)));
playerView.setPlayer(player); playerView.setPlayer(player);