mirror of
https://github.com/androidx/media.git
synced 2025-05-10 00:59:51 +08:00
Fix demo app
This commit is contained in:
parent
fbe840e880
commit
3e75d2a689
@ -435,7 +435,7 @@ public class PlayerActivity extends AppCompatActivity
|
||||
if (Util.maybeRequestReadExternalStoragePermission(
|
||||
/* activity= */ this, subtitleInfo.uri)) {
|
||||
// The player will be reinitialized if the permission is granted.
|
||||
return Collections.emptyList();
|
||||
return null;
|
||||
}
|
||||
Format subtitleFormat =
|
||||
Format.createTextSampleFormat(
|
||||
|
Loading…
x
Reference in New Issue
Block a user