changeset 202:6f699aa78431

mmiCall.c: basic setting of mme_backlight_incall
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 06 Apr 2021 00:58:11 +0000
parents 360034896a82
children 45455ba52f9d
files src/ui/bmi/mmiCall.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ui/bmi/mmiCall.c	Mon Mar 29 04:44:46 2021 +0000
+++ b/src/ui/bmi/mmiCall.c	Tue Apr 06 00:58:11 2021 +0000
@@ -3657,6 +3657,9 @@
   SEND_EVENT(data->win,CALL_INIT,0,0);
     winShow(data->win);
 
+  mme_backlight_incall = 1;
+  mme_backlightOnEvent();
+
   /*
    * return window handle
    */
@@ -3772,6 +3775,9 @@
 
     }
 
+    mme_backlight_incall = 0;
+    mme_backlightOnEvent();
+
     idleEvent(IdleUpdate);/* NDH SPR 1584, update idle screen*/
 
   }