No description
Find a file
Stacy Harper f4ee396394 Rework the incoming call pickup/discard behavior
* The sxmo_modemmonitor.sh will now run a new sxmo_modemcall.sh
dedicated menu to Pickup, Hangup or Mute the call. It will not write
notifications anymore.

* We now can mute the ring with the new pickup menu. With the default
hook, this will stop the ringtone like the missed_call would do.

* The sxmo_modemcall.sh now use a new sxmo_proximitylock.sh which
will lock the screen when putting the phone in front of the ear. This
script should be smart enough to work smoothly with a crust context.

To achieve this, the proximity_lock will only disable the initial
lock (the one who want to go back in crust after some seconds) if the
phone moved a little bit and is not in your pocket. So forgetting the
phone in a table or not earing the ring in your bag will not empty the
battery. You'll find the phone in crust with notifications.

* The sxmo_modemcall.sh do not monitor finished calls anymore. We leave
it with hangup or being killed by sxmo_modemmonitor.sh. This simplify
the call script and prevent double deleting mmcli calls. I had to use
pids and wait commands to fix and issue and make the script killeable
by the monitor.

Plus, only the monitor will now delete calls. The call script should be
precise on what happen using cached files.

* Discarded and hanged up calls are two different behavior with
different script (by default use the same linked ones)

* Fixed a bug where sometime ringing was started twice. I think this is
cause by the new checkforincomingcalls in the connected state change. We
now use a file to test if the call already has been managed.

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-04-23 19:16:08 +02:00
configs Rework the incoming call pickup/discard behavior 2021-04-23 19:16:08 +02:00
programs Revert "Workaround for reliable incoming calls waking up from CRUST", no longer needed with eg25-manager and caused ModemManager restart issues 2021-04-05 12:01:32 +02:00
resources increased volume 2021-03-31 11:37:32 +02:00
scripts Rework the incoming call pickup/discard behavior 2021-04-23 19:16:08 +02:00
.build.yml adding icons to menus 2021-02-01 18:32:32 +01:00
.editorconfig editorcheck update: restrict to shell scripts and C programs for now, and removing the maximum line length check for now. 2020-11-20 18:13:31 +01:00
.gitignore Initial commit 2020-03-15 18:42:35 -05:00
.shellcheckrc implemented lookupcontactname() in call/text handler, removes non posix-compliant substitutions 2020-12-09 15:46:21 +01:00
LICENSE Add license 2020-06-19 18:02:09 -05:00
Makefile Added a more detailed xinit_template and added some default media resources (wallpaper,startup tune,keypress sound) that are preconfigured in the template 2021-03-29 14:00:09 +02:00
README.md fix builds button to only show sxmo-utils tests 2020-11-08 22:08:43 -05:00

sxmo-utils

builds.sr.ht status

This repository contains scripts and C programs to support Sxmo.

Note all scripts pass shellcheck and are tab-idented.