From 5e03ad28173972b027806f64480bf36496ea0529 Mon Sep 17 00:00:00 2001 From: "Sicelo A. Mhlongo" Date: Wed, 12 Jun 2024 12:23:23 +0200 Subject: [PATCH] device-nokia-n900: fix sxmo lock state (MR 5228) commit 933f2b570346 ("device-nokia-n900: improve sxmo-dwm support [MR 5227]") accidentally removed sxmo lock state initialization. Restore the lock state initialization --- device/community/device-nokia-n900/APKBUILD | 4 ++-- device/community/device-nokia-n900/sxmo/start_hook.sh | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/device/community/device-nokia-n900/APKBUILD b/device/community/device-nokia-n900/APKBUILD index a8bb251c2..a6d475704 100644 --- a/device/community/device-nokia-n900/APKBUILD +++ b/device/community/device-nokia-n900/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Sicelo # Co-Maintainer: Danct12 pkgname=device-nokia-n900 -pkgver=26 +pkgver=27 pkgrel=0 pkgdesc="Nokia N900" url="https://postmarketos.org" @@ -237,7 +237,7 @@ e440ed7a3070c17e003b86b72dbe6d8194d01b577ca8dd56dd066f216b6dda32bb965c780950f178 143c21f0b18a016d37cb44178e9daea09f128a90769b48353c03c3f245cb9b1f7e773b9ccee084973fc78ddd7a18c2642e54888a85bda7c7daecddc9a8c62eff pointercal 134f51d20decc0c63ab08010931a0b410b70d2f85bf6899f2ff137b1680f59f706a6287d01f5fbb41fa5309125df75a430d0783149bd1a6a1bca07d22f4f6a21 proxishot.sh fc21e3b7e045055c080a7f7ffb0cd4140b63a02690e92c8370dbccbef506fe271ee9584ac9f14725b8bc9fd6e74e7fafde589d2360f44491c614837472d8ad53 deviceprofile.sh -c067c9ff982f9405ec8acac764ed900261a96b1039d6a7e1f85bbcf1c69e130f5764b571fbec8c4652a67fc3878071c421b400752bd0c3dd869284f1d992c5b0 start_hook.sh +5dab895c34599bf233635463271ea8308d434c97789efe931eec24870c3b4688fe48ca3b7cdc66e5c1a705940d042b9f18f26420b60f22e1cfad1854e97f8687 start_hook.sh 239a54ae5c5effb53ccf4d658652c0462da57604b16b77a63627a17caa171caf82e3d1769f9c5afea8756415acbbf3b73db9b57715fce6c70ea3f29e5c6ac84a uboot-script.cmd 9e72035c88632d12895534e5aa5746f2c130c7dcdafa8702748d62b71ed0e1b5911b6e1f07f9b9e39b6072bbb662f66aead585baa1dcacb7d8c8953ca89b6762 10-nokia-modem.rules 03079030237440080e833dbfeff80327c1ad6a8129c6c730b401a3052cd00a986783ec3473a526b14ae73ba1f20653b4c7b2a6590839bfe6cc156bbbc3b7bb74 80-feedbackd-twl4030.rules diff --git a/device/community/device-nokia-n900/sxmo/start_hook.sh b/device/community/device-nokia-n900/sxmo/start_hook.sh index 88a62e054..1d48c0c0b 100644 --- a/device/community/device-nokia-n900/sxmo/start_hook.sh +++ b/device/community/device-nokia-n900/sxmo/start_hook.sh @@ -80,6 +80,9 @@ if sxmo_wakelock.sh isenabled; then superctl start sxmo_autosuspend fi +# To setup initial unlock state +sxmo_state.sh set unlock + # Turn on lisgd if [ ! -e "$XDG_CACHE_HOME"/sxmo/sxmo.nogesture ]; then superctl start sxmo_hook_lisgd