Skip to content

Commit

Permalink
feat(Cast): Enable storage in Android Cast devices (#7292)
Browse files Browse the repository at this point in the history
Related to #7253
  • Loading branch information
avelad authored Sep 13, 2024
1 parent 6d94d74 commit 1434426
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/offline/indexeddb/storage_mechanism.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,9 +392,10 @@ shaka.offline.indexeddb.StorageMechanism.SESSION_ID_STORE = 'session-ids';
shaka.offline.StorageMuxer.register(
'idb',
() => {
// Offline storage is not supported on the Chromecast or Xbox One
// platforms.
if (shaka.util.Platform.isChromecast() ||
// Offline storage is not supported on the Chromecast Linux/Fuschia or

This comment has been minimized.

Copy link
@MarkusGaugg

MarkusGaugg Sep 13, 2024

Is this possibly a typo and Google Fuchsia is meant?

// Xbox One platforms.
if ((shaka.util.Platform.isChromecast() &&
!shaka.util.Platform.isAndroidCastDevice()) ||
shaka.util.Platform.isXboxOne()) {
return null;
}
Expand Down

0 comments on commit 1434426

Please sign in to comment.