sxmo-utils/scripts/core
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
..
sxmo_appmenu.sh Add less|mless appmenus 2021-04-21 19:39:48 -04:00
sxmo_audiocurrentdevice.sh Shellcheck and tabindent all scripts 2020-06-13 20:36:13 -05:00
sxmo_audioout.sh various scripts were not sourcing the common include script yet (noted by mrrabbit1155) 2021-02-21 15:14:16 +01:00
sxmo_blinkled.sh various scripts were not sourcing the common include script yet (noted by mrrabbit1155) 2021-02-21 15:14:16 +01:00
sxmo_bluetoothmenu.sh Make all sxmo menu SSH mode compatible 2021-04-10 13:20:19 +02:00
sxmo_brightness.sh various scripts were not sourcing the common include script yet (noted by mrrabbit1155) 2021-02-21 15:14:16 +01:00
sxmo_common.sh Make all sxmo menu SSH mode compatible 2021-04-10 13:20:19 +02:00
sxmo_contactmenu.sh sxmo_contactmenu.sh now use sxmo_contacts.sh 2021-04-10 13:20:19 +02:00
sxmo_contacts.sh Fix the unreliable modem numbers prefix issues 2021-04-10 13:20:19 +02:00
sxmo_dmenu.sh Make all sxmo menu SSH mode compatible 2021-04-10 13:20:19 +02:00
sxmo_dmenu_with_kb.sh Make all sxmo menu SSH mode compatible 2021-04-10 13:20:19 +02:00
sxmo_edit_screen.sh Shellcheck and tabindent all scripts 2020-06-13 20:36:13 -05:00
sxmo_flashtoggle.sh various indentation fixes (spaces to tabs and stripping trailing whitespace) 2020-11-20 18:10:17 +01:00
sxmo_gpsutil.sh Moved checkmark to icons 2021-03-16 22:01:41 +01:00
sxmo_inputhandler.sh Renamed sxmo_gesturehandler.sh to sxmo_inputhandler.sh (after Sam Bowly's patches), renamed gesture hook to inputhandler hook. Removed hotcorner script and powerbutton scripts and their hooks (now all handled by inputhandler and its hook). 2021-04-10 13:47:22 +02:00
sxmo_keyboard.sh Do not close svkbd if it was already open before dmenu 2021-03-24 21:40:02 +01:00
sxmo_killwindow.sh use 2-finger swipe down to close window, 3 to kill window 2021-03-22 19:49:48 +01:00
sxmo_lisgdstart.sh Renamed sxmo_gesturehandler.sh to sxmo_inputhandler.sh (after Sam Bowly's patches), renamed gesture hook to inputhandler hook. Removed hotcorner script and powerbutton scripts and their hooks (now all handled by inputhandler and its hook). 2021-04-10 13:47:22 +02:00
sxmo_lock.sh Rework the incoming call pickup/discard behavior 2021-04-23 19:16:08 +02:00
sxmo_movement.sh Rework the incoming call pickup/discard behavior 2021-04-23 19:16:08 +02:00
sxmo_networks.sh add Profanity to app menu; add System Menu to Network menu 2021-04-05 20:47:27 +02:00
sxmo_open.sh various scripts were not sourcing the common include script yet (noted by mrrabbit1155) 2021-02-21 15:14:16 +01:00
sxmo_pipecomplete.sh Added sxmo_keyboard script that acts as an intermediary to opening and closing the keyboard 2021-03-15 13:51:48 +01:00
sxmo_postwake.sh Suspend Conky during screenlock #177 2021-02-23 19:05:54 +01:00
sxmo_presuspend.sh ensure clickclack and svkbd are killed prior to suspending (may fix a sound stuttering problem) 2021-03-30 21:02:42 +02:00
sxmo_proximitylock.sh Rework the incoming call pickup/discard behavior 2021-04-23 19:16:08 +02:00
sxmo_resetscaninterval.sh reduce wifi reconnection time after deep sleep #150 2021-01-30 21:40:56 +01:00
sxmo_rotate.sh Fix sxmo rotate left 2021-04-09 22:56:20 +02:00
sxmo_rotateautotoggle.sh increased verbosity in various scripts, and do not run xargs kill when argument is empty (cleaner and clearer stderr messages) 2021-01-30 21:41:08 +01:00
sxmo_rtcwake.sh Implementing optional rtc wakeup at regular intervals, added presuspend, rtcwake and postwake scripts (with hooks) 2020-10-31 12:13:22 +01:00
sxmo_setpermissions.sh fix: path should be absolute 2021-03-18 19:21:41 +01:00
sxmo_statusbar.sh fixed whitespace problem after last patch 2021-04-05 16:43:23 +02:00
sxmo_statusbarupdate.sh increased verbosity in various scripts, and do not run xargs kill when argument is empty (cleaner and clearer stderr messages) 2021-01-30 21:41:08 +01:00
sxmo_surf_linkselect.sh Added sxmo_keyboard script that acts as an intermediary to opening and closing the keyboard 2021-03-15 13:51:48 +01:00
sxmo_terminal.sh Make all sxmo menu SSH mode compatible 2021-04-10 13:20:19 +02:00
sxmo_timezonechange.sh Removed explicit font from most dmenu calls, dmenu font is read from Xresources now and kept as uniform as possible 2021-02-01 18:32:32 +01:00
sxmo_upgrade.sh we expect people to upgrade with apk upgrade -a (quoting ollieparanoid from pmos) 2021-03-31 11:48:32 +02:00
sxmo_urlhandler.sh removed hardcoded font 2021-03-22 19:49:48 +01:00
sxmo_vol.sh various scripts were not sourcing the common include script yet (noted by mrrabbit1155) 2021-02-21 15:14:16 +01:00
sxmo_xinit.sh Implement default hooks for ringing and incoming texts, playing audio 2021-03-30 21:02:42 +02:00