mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Fix demo app
This commit is contained in:
parent
fbe840e880
commit
3e75d2a689
1 changed files with 1 additions and 1 deletions
|
|
@ -435,7 +435,7 @@ public class PlayerActivity extends AppCompatActivity
|
||||||
if (Util.maybeRequestReadExternalStoragePermission(
|
if (Util.maybeRequestReadExternalStoragePermission(
|
||||||
/* activity= */ this, subtitleInfo.uri)) {
|
/* activity= */ this, subtitleInfo.uri)) {
|
||||||
// The player will be reinitialized if the permission is granted.
|
// The player will be reinitialized if the permission is granted.
|
||||||
return Collections.emptyList();
|
return null;
|
||||||
}
|
}
|
||||||
Format subtitleFormat =
|
Format subtitleFormat =
|
||||||
Format.createTextSampleFormat(
|
Format.createTextSampleFormat(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue