Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions app/src/main/java/org/koreader/launcher/device/DeviceInfo.kt
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ object DeviceInfo {
ONYX_NOTE_AIR2,
ONYX_NOTE_AIR_3C,
ONYX_NOTE_AIR_4C,
ONYX_NOTE_AIR_5C,
ONYX_NOTE_MAX,
ONYX_NOTE_PRO,
ONYX_NOTE_S,
Expand Down Expand Up @@ -508,6 +509,10 @@ object DeviceInfo {
// Onyx Note Air 4C
BRAND == "onyx" && MODEL == "noteair4c"
-> Id.ONYX_NOTE_AIR_4C

// Onyx Note Air 5C
BRAND == "onyx" && MODEL == "noteair5c"
-> Id.ONYX_NOTE_AIR_5C

// Onyx Boox Note Max
BRAND == "onyx" && PRODUCT == "notemax" && DEVICE == "notemax"
Expand Down Expand Up @@ -725,6 +730,7 @@ object DeviceInfo {
Id.ONYX_NOVA_AIR_C,
Id.ONYX_NOTE_AIR_3C,
Id.ONYX_NOTE_AIR_4C,
Id.ONYX_NOTE_AIR_5C,
Id.ONYX_TAB_ULTRA_C,
Id.ONYX_TAB_ULTRA_C_PRO,
-> true else -> false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ object EPDFactory {
DeviceInfo.Id.ONYX_NOTE_AIR2,
DeviceInfo.Id.ONYX_NOTE_AIR_3C,
DeviceInfo.Id.ONYX_NOTE_AIR_4C,
DeviceInfo.Id.ONYX_NOTE_AIR_5C,
DeviceInfo.Id.ONYX_NOTE_MAX,
DeviceInfo.Id.ONYX_NOTE_PRO,
DeviceInfo.Id.ONYX_NOTE_S,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ object LightsFactory {
DeviceInfo.Id.ONYX_GO7GEN2,
DeviceInfo.Id.ONYX_NOTE_AIR_3C,
DeviceInfo.Id.ONYX_NOTE_AIR_4C,
DeviceInfo.Id.ONYX_NOTE_AIR_5C,
DeviceInfo.Id.ONYX_NOVA_AIR,
DeviceInfo.Id.ONYX_PAGE,
DeviceInfo.Id.ONYX_PALMA,
Expand Down