Commit Graph

115 Commits

Author SHA1 Message Date
rrandomsky
fbe3d8df0b [MOS-644] Displaying number entered on the keypad during a call
Now, on the active call screen, the user can see the numbers provided during the call,
which is useful when, for example, the user calls a call center.
2023-10-27 16:39:46 +02:00
Lefucjusz
3b24ac9e90 [MOS-1047] Fix calling abort() in EnterNumberWindow
* Removed call to abort() method in case
EnterNumberWindow's SwitchData handler
receives message that can't be handled,
what caused the phone to crash.
* Unify ApplicationCall window names
definitions.
* Code cleanup.
2023-10-17 13:29:20 +02:00
Lefucjusz
61ebc08069 [MOS-929] Block executing call when phone number empty
Fix of the issue that when trying to call empty
number when entering number via keypad
on main screen, popup 'Something went wrong'
would appear, while no action should
happen in such case.
2023-08-21 15:33:12 +02:00
Lefucjusz
d2b9a10dd3 [MOS-1002] Change USSD code handling to match design
Fixed issues with GUI behaviour on failed
USSD code handling.
Minor code cleanup in several parts of system.
2023-08-02 12:07:29 +02:00
Lefucjusz
5ca8e9e5cf [MOS-1004] Fix autolock on SMS template call rejection
Fix of the issue that unlocked phone would
automatically lock after user tried to reject
incoming call via SMS and stayed on the
templates window.
2023-07-10 13:25:02 +02:00
rrandomsky
1ceaffb987 [MOS-925] Fix redirection on BACK from sending message from Contact view
Fix for inconsistent redirection to message threads list when pressing
BACK from sending message from Contact view. Also proveded mechanizm
to help switching back to previous App, when some App call window
from another App.
2023-03-09 14:41:21 +01:00
rrandomsky
57fa356767 [MOS-359] Fix returning to call screen from message template
Fixed returning to the call screen from the message template screen
from which the user can send a message during an incoming call.
2023-02-27 11:25:49 +01:00
Lukasz Mastalerz
75b531f7e2 [MOS-871] Loudspeaker icon is not updated when audio routing has changed
Fix for the loudspeaker becomes active again when a headset is unplugged
if it was on while the headset was connected to the phone.
Fix typo in Bluetooth in EventType enum.
2023-02-21 15:40:39 +01:00
Lukasz Mastalerz
24f63baf48 [MOS-871] Loudspeaker icon not updated when audio routing has changed
Fix for the loudspeaker icon has not changed while calling with
loudspeaker on and connecting headset to the phone.
2023-02-07 15:59:52 +01:00
Maciej-Mudita
aee113ac1e [MOS-60] Fix displaying an incorrect window after ending a call
After quick dobule "END CALL" selection, the window
for adding a contact is displayed for a while.
2023-02-01 14:52:38 +01:00
Lefucjusz
01843fbadd [MOS-814] Fix no sound after BT device connection during call
Fix of the issue that connecting or
disconnecting BT device while call
was in progress resulted in no sound
being heard anywhere due to audio
routing being stopped when HFP device
disconnected.

Additionally minor code cleanup.
2023-01-16 13:36:52 +01:00
Lukasz Mastalerz
28ea1f82c0 [CP-1575] Fix unwanted Center passcode prompt
Fixed unwanted Mudita Center passcode prompt after long press '#'
while dialing
2023-01-09 13:08:02 +01:00
Adam Wulkiewicz
49bbaf51a0 [MOS-550] Improve refresh of the display
1. Implement partial refresh.
2. Implement refresh canceling mechanism.
3. Refactor some parts of the gui and display code.

ad 1.
- Detect parts of the screen changed since last update and merge them
  into bigger regions. These regions defines parts of the context sent
  to the display.
- Refresh the region covering all of the parts since this is the most
  time consuming part and the size of the refreshed region doesn't
  change the time much.
- Refresh the whole screen if deep refresh is requested and previously
  fast refresh was used. This is needed to prevent unwanted artifacts
  in some cases.

ad 2.
- Separate display update and refresh logic.
- Divide image display message handling into two handlers, one updating
  and other one refreshing the screen.
- Add cancel refresh message and use it to cancel refresh during update.
- Store sum of refresh regions gathered during updates to refresh them
  all at once at the end.
2022-10-11 20:00:33 +02:00
Adam Wulkiewicz
fe708cdf31 [MOS-670] Change clang-format AlwaysBreakTemplateDeclarations to Yes
Add --all and --fix-all options to style-check-hook
2022-08-26 15:22:39 +02:00
Kuba
cd51f0dca5 [MOS-519] Fixed ICE conntact calls
Now user is able to make emergency call to ice contact
couple times in row.
2022-06-17 12:15:30 +02:00
Kuba
7a8a8683c9 [MOS-420] Fix Call ending with sms reworked
Reworked ending with sms is now reworked. Sms is send by call app,
application messages is only providing template text.
Also call hangup and sms send order is changed due to delays caused by
sending sms.
2022-04-28 11:27:42 +02:00
Kuba
106440c78d [MOS-326] Change call logic removed from call window
Call logic is now removed from call window and call app.
There was spaghetti logic mixed in window and app, now
call logic is based on notificatins from service cellular.
2022-04-22 12:59:29 +02:00
Kuba
3454dade99 [MOS-325] AudioServiceAPI removed from Call app
AudioServiceAPI is now removed from Call app.
Call audio routing is handled in service cellular.
2022-03-28 16:42:35 +02:00
Adam Dobrowolski
ddf5342b75 [EGD-8208] Fixed race condition on ring within call management
Now we get request for call and to end call in proper order
2022-02-22 13:36:27 +01:00
Alek Rudnik
05c8d3117c [EGD-7860] Fix for call error flow
Make sure it is not possible to request a call twice.
Added new error windows for general call error and
no network connection.
Make sure there are no issues when call is requested
from external app e.g. from callog or phonebook.
2021-12-09 21:06:08 +01:00
Wojciech Rzepecki
a0914b534c [EGD-5374] Fix call gui issues
fixed state icons to use box layout
plus string and allignement fixes
2021-11-25 13:58:42 +01:00
Przemyslaw Brudny
bc3e825b77 [EGD-7910] Text directory cleanup
Text directory cleanup. Removed old unused assets
directories.
2021-11-05 00:36:34 +01:00
Przemyslaw Brudny
38bc935af9 [EGD-7237] Layout NavBar refactor
Layout NavBar refactor.
2021-10-28 16:10:03 +02:00
Przemyslaw Brudny
7597d38852 [EGD-7857] Renamed BottomBar to NavBar
Renamed BottomBar to NavBar.
2021-10-26 13:51:06 +02:00
Piotr Tański
f8adbf2bed [EGD-7474] Contacts management fixes
Fixed managing contacts on the application side.
2021-10-04 15:06:22 +02:00
Marcin Smoczyński
bd90e57516 [BH-907] Split utils module into components
Split module-utils into smaller components for better dependency
management. Fix many dependencies throughout the project.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-23 15:14:40 +02:00
Mateusz Grzegorzek
58dd02cff1 [BH-861] Cleanup Application split - part I
1. Prepare Pure and Bell specific `Application`
   classes and add them to `app` target:

- `products/BellHybrid/apps/Application.cpp`
- `products/PurePhone/apps/Application.cpp`

2. Update `CMakeLists.txt` files.
3. Move `ApplicationBell` implementation to Bell-specific
   `Application` class and remove `ApplicationBell` files.
4. Change Bell apps parent classes from `ApplicationBell`
  to Bell-specific `Application` class.
5. Rename `Application` to `ApplicationCommon` in the rest of the files.
2021-09-13 11:58:10 +02:00
DariuszSabala
01d4b62131 [BH-381] Turned application call into lib
Defined separate cmake target, dependencies, private, and public
sources, cleaned up include paths
2021-07-13 13:11:44 +02:00
Wojtek Rzepecki
bf3cc2f23c [EGD-6955] Add calls notifications in DND
Add notifications for incoming calls in DND
phone mode according to design.
2021-06-30 13:19:33 +02:00
tomaszkrosnowski
d5f3277a07 [EGD-6994] Remove sensitive data logging
Sensitive data removed from logs in apps: call and calllog.
2021-06-25 13:56:00 +02:00
Piotr Tański
ef0872eaf6 [EGD-5709] Fixed actions support in Call application
Fixed:
- returning from a call window to previous application
- closing SMS templates window if open from call window
2021-06-22 17:31:14 +02:00
Wojtek Rzepecki
7350872bf2 [EGD-6884] Fix autolock in sms template
Fix of autolock behavior on sms template
window while declining call
2021-06-09 15:19:56 +02:00
Maciej Janicki
ad875616c4 [EGD-6684] Fix call ended message
This commit fixes issue with call ended
message not being shown after other
phone ends the call.
2021-06-09 09:51:12 +02:00
Lukasz Skrzypczak
2911b6b4a1 [BH-378] PR changes
PR changes - mainly includes
2021-06-08 12:24:29 +02:00
Lukasz Skrzypczak
7fee0d9cfb [BH-378] Utils move log to library
Moved log to separate library
2021-06-08 12:24:29 +02:00
Przemyslaw Brudny
b7e710ef9e [EGD-6867] Renamed TopBar into StatusBar
Renamed TopBar into StatusBar.
2021-06-04 12:24:30 +02:00
tomaszkrosnowski
dcd0ebe0a1 [EGD-6338] Fix NAT widget visibility
Make sure that NAT (Network Access Technology) widget is visible on top
bar ONLY during call.
2021-05-21 01:27:54 +02:00
Piotr Tański
1bcc27dfe7 [EGD-6638] SOS call windows flow fixed
On going back, it returns to the correct window.
2021-05-10 09:03:23 +02:00
Artur Śleszyński
71465d8990 [EGD-3119] Hide InputEvent's member fields
Use the InputEvent's convenience methods to express intent.
2021-04-29 08:01:18 +02:00
Maciej Janicki
ce139d27bb [EGD-6583] Add send text
Adds missing send text during
incoming call.
2021-04-28 09:44:24 +02:00
Maciej Janicki
5cc2475d13 [EGD-6600] Add rejected call message
Adds rejected call message
instead of ended call.
2021-04-27 15:15:39 +02:00
Adam Dobrowolski
940989833f [EGD-6527] Internationalization API unification
Single api to rule i18n
all calls to localistaion in cpp files unified
cut off ass many dependencies in i18n header as possible
2021-04-20 20:07:44 +02:00
Alek Rudnik
fd935f4179 [EGD-6093] Audio settings API
Refactored Audio settings API.
Moved phone modes logic from serivce audio to service clients level.
Removed redundant API.
Seprated API for vibration and sound enable/disable.
Fixed issues with vibrations logic.
2021-04-16 14:50:38 +02:00
Marek Niepieklo
226e9e4c0b [EGD-6515] Answer/reject calls using headset
Clean up propagation of headset keys events
Clean up volume control with headset keys
Update key mappings for simulator
Use headset OK key to answer/reject calls
2021-04-15 14:19:50 +02:00
Piotr Tański
efef7dcf7f [EGD-6111] Timers refactored
Deep refactor of system timers.
2021-03-19 14:09:35 +01:00
Przemyslaw Brudny
230eb7c343 [EGD-5816] Device freeze after cancelling a call
Reverted changed proposed by PR [EGD-5598] GuiTimer
refreshWindow on Count and custom stop.

Signed-off-by: Przemyslaw Brudny <przemyslaw.brudny@mudita.com>
2021-02-19 12:57:30 +01:00
Przemyslaw Brudny
50d0cf0be9 [EGD-5598] GuiTimer refresh window on count
Added Gui timer auto refresh window on count and additional
name based API to detach timer from window. Added
TimerIDGenerator and exception throw on creating user timer
with same name.
2021-02-17 17:33:32 +01:00
Hubert Chrzaniuk
3cc558b02a [EGD-2931] Fix private number incoming calls
The change adjusts both cellular service as well as
call and call log applications to handle properly
incoming calls from private numbers.
2021-02-12 10:32:15 +01:00
alek
67e728ee57 [EGD-5291] Fixes in Call App
Fix for Call ended window displayed to shortly
Separted the logic of two gui timers in call window.
Removed redundant main window in call app
Refactored CallWindow interface
2021-02-11 16:51:40 +01:00
Piotr Tański
4c61595a27 [EGD-4801] Add application-wide top bar manager
Applications configure the top bar once for all their windows.
Sometimes, windows need to configure top bars with its configuration.
2021-01-21 10:46:57 +01:00