mirror of
https://github.com/jellyfin/jellyfin-androidtv.git
synced 2024-11-23 05:49:50 +00:00
Add Google Chromecast HD limitation (#3820)
* Add identification for Google Chromecast HD Possibly an upstream bug is preventing this from working, as the chromecast is being idenitified correctly in debugging. * Update DeviceUtils.kt Added a note for the reason of the change. * Removed unintentional imports * Update app/src/main/java/org/jellyfin/androidtv/util/DeviceUtils.kt Make changes suggested by maintainer. Co-authored-by: Niels van Velzen <nielsvanvelzen@users.noreply.github.com> * Update DeviceUtils.kt Removed unneeded isChromecastHD --------- Co-authored-by: Niels van Velzen <nielsvanvelzen@users.noreply.github.com>
This commit is contained in:
parent
4f3c6b331d
commit
a8c9f054ab
@ -13,6 +13,7 @@
|
||||
- [sparky3387](https://github.com/sparky3387)
|
||||
- [mohd-akram](https://github.com/mohd-akram)
|
||||
- [3l0w](https://github.com/3l0w)
|
||||
- [MajMongoose](https://github.com/majmongoose)
|
||||
|
||||
# Emby Contributors
|
||||
|
||||
|
@ -26,6 +26,9 @@ object DeviceUtils {
|
||||
// Nvidia Shield TV Model
|
||||
private const val SHIELD_TV_MODEL = "SHIELD Android TV"
|
||||
|
||||
// Google Chromecast HD Model
|
||||
private const val GOOGLE_CHROMECAST_HD_MODEL = "Chromecast HD"
|
||||
|
||||
@JvmStatic
|
||||
val isFireTv: Boolean = Build.MODEL.startsWith(FIRE_TV_PREFIX)
|
||||
|
||||
@ -53,6 +56,7 @@ object DeviceUtils {
|
||||
FIRE_STICK_MODEL_GEN_3,
|
||||
FIRE_STICK_LITE_MODEL,
|
||||
FIRE_TV_MODEL_GEN_1,
|
||||
FIRE_TV_MODEL_GEN_2
|
||||
FIRE_TV_MODEL_GEN_2,
|
||||
GOOGLE_CHROMECAST_HD_MODEL
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user