From 638a0d302a925139d61b6f148bfc24b810be5b10 Mon Sep 17 00:00:00 2001 From: hugleo Date: Tue, 26 Nov 2024 09:31:52 -0300 Subject: [PATCH 1/5] fix Tolino Epos 2 to the correct light controller --- app/src/main/java/org/koreader/launcher/device/LightsFactory.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/koreader/launcher/device/LightsFactory.kt b/app/src/main/java/org/koreader/launcher/device/LightsFactory.kt index 0ba41732b..8ddc75356 100644 --- a/app/src/main/java/org/koreader/launcher/device/LightsFactory.kt +++ b/app/src/main/java/org/koreader/launcher/device/LightsFactory.kt @@ -75,7 +75,6 @@ object LightsFactory { DeviceInfo.Id.MEEBOOK_P6, DeviceInfo.Id.RIDI_PAPER_3, DeviceInfo.Id.TOLINO_EPOS1, - DeviceInfo.Id.TOLINO_EPOS2, DeviceInfo.Id.TOLINO_SHINE3, DeviceInfo.Id.TOLINO_VISION4, DeviceInfo.Id.TOLINO_VISION5, @@ -88,6 +87,7 @@ object LightsFactory { logController("TolinoNTXNoWarmth") TolinoNtxNoWarmthController() } + DeviceInfo.Id.TOLINO_EPOS2, DeviceInfo.Id.NOOK_GL4, -> { logController("TolinoRoot") From f56384486a08fd038f0462eda4e750d065d48d5c Mon Sep 17 00:00:00 2001 From: hugleo Date: Tue, 26 Nov 2024 10:05:44 -0300 Subject: [PATCH 2/5] Update app/src/main/java/org/koreader/launcher/device/LightsFactory.kt Co-authored-by: Benoit Pierre --- app/src/main/java/org/koreader/launcher/device/LightsFactory.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/koreader/launcher/device/LightsFactory.kt b/app/src/main/java/org/koreader/launcher/device/LightsFactory.kt index 8ddc75356..aa1db4ad8 100644 --- a/app/src/main/java/org/koreader/launcher/device/LightsFactory.kt +++ b/app/src/main/java/org/koreader/launcher/device/LightsFactory.kt @@ -87,8 +87,8 @@ object LightsFactory { logController("TolinoNTXNoWarmth") TolinoNtxNoWarmthController() } - DeviceInfo.Id.TOLINO_EPOS2, DeviceInfo.Id.NOOK_GL4, + DeviceInfo.Id.TOLINO_EPOS2, -> { logController("TolinoRoot") TolinoRootController() From 849d118cf07895471f0b9ebe72b03ddc9d137acd Mon Sep 17 00:00:00 2001 From: hugleo Date: Wed, 27 Nov 2024 20:21:00 -0300 Subject: [PATCH 3/5] for the sake... --- app/src/main/java/org/koreader/launcher/device/LightsFactory.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/koreader/launcher/device/LightsFactory.kt b/app/src/main/java/org/koreader/launcher/device/LightsFactory.kt index aa1db4ad8..b23f471bd 100644 --- a/app/src/main/java/org/koreader/launcher/device/LightsFactory.kt +++ b/app/src/main/java/org/koreader/launcher/device/LightsFactory.kt @@ -74,7 +74,6 @@ object LightsFactory { DeviceInfo.Id.CREMA_CARTA_G, DeviceInfo.Id.MEEBOOK_P6, DeviceInfo.Id.RIDI_PAPER_3, - DeviceInfo.Id.TOLINO_EPOS1, DeviceInfo.Id.TOLINO_SHINE3, DeviceInfo.Id.TOLINO_VISION4, DeviceInfo.Id.TOLINO_VISION5, @@ -88,6 +87,7 @@ object LightsFactory { TolinoNtxNoWarmthController() } DeviceInfo.Id.NOOK_GL4, + DeviceInfo.Id.TOLINO_EPOS1, DeviceInfo.Id.TOLINO_EPOS2, -> { logController("TolinoRoot") From 40ba90b45abe08c10e33f0b748ee5d47a200a063 Mon Sep 17 00:00:00 2001 From: hugleo Date: Wed, 4 Dec 2024 17:39:30 -0300 Subject: [PATCH 4/5] be it --- app/src/main/java/org/koreader/launcher/device/LightsFactory.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/koreader/launcher/device/LightsFactory.kt b/app/src/main/java/org/koreader/launcher/device/LightsFactory.kt index b23f471bd..4ad7fcdb5 100644 --- a/app/src/main/java/org/koreader/launcher/device/LightsFactory.kt +++ b/app/src/main/java/org/koreader/launcher/device/LightsFactory.kt @@ -74,6 +74,7 @@ object LightsFactory { DeviceInfo.Id.CREMA_CARTA_G, DeviceInfo.Id.MEEBOOK_P6, DeviceInfo.Id.RIDI_PAPER_3, + DeviceInfo.Id.TOLINO_EPOS1, DeviceInfo.Id.TOLINO_SHINE3, DeviceInfo.Id.TOLINO_VISION4, DeviceInfo.Id.TOLINO_VISION5, @@ -87,7 +88,6 @@ object LightsFactory { TolinoNtxNoWarmthController() } DeviceInfo.Id.NOOK_GL4, - DeviceInfo.Id.TOLINO_EPOS1, DeviceInfo.Id.TOLINO_EPOS2, -> { logController("TolinoRoot") From 6be7b7ed4aaa5ae16790858dc97124e4298ea7e2 Mon Sep 17 00:00:00 2001 From: hugleo Date: Wed, 4 Dec 2024 17:41:10 -0300 Subject: [PATCH 5/5] space --- app/src/main/java/org/koreader/launcher/device/LightsFactory.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/koreader/launcher/device/LightsFactory.kt b/app/src/main/java/org/koreader/launcher/device/LightsFactory.kt index 4ad7fcdb5..aa1db4ad8 100644 --- a/app/src/main/java/org/koreader/launcher/device/LightsFactory.kt +++ b/app/src/main/java/org/koreader/launcher/device/LightsFactory.kt @@ -74,7 +74,7 @@ object LightsFactory { DeviceInfo.Id.CREMA_CARTA_G, DeviceInfo.Id.MEEBOOK_P6, DeviceInfo.Id.RIDI_PAPER_3, - DeviceInfo.Id.TOLINO_EPOS1, + DeviceInfo.Id.TOLINO_EPOS1, DeviceInfo.Id.TOLINO_SHINE3, DeviceInfo.Id.TOLINO_VISION4, DeviceInfo.Id.TOLINO_VISION5,