Commit Graph

123 Commits

Author SHA1 Message Date
Przemyslaw Brudny
29f455d46b [EGD-7998] Pure image assets cleanup and update
Pure image assets cleanup and update.
2021-11-25 18:39:16 +01:00
Piotr Tański
8038df5d69 [EGD-7828] Phone number match performance fixes
Fixed performance of the number matcher.
2021-10-29 17:39:42 +02:00
Wojtek Rzepecki
1e8082e02c [EGD-7570] Add Alarm Clock status bar indicator
Added indicator on status bar if any alarm is on
2021-09-23 13:15:02 +02:00
Marcin Smoczyński
958ce4906c [BH-897] Split module-sys
Split system module to better manage dependencies between system
components.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-21 16:11:59 +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
Piotr Tański
0079bc9695 [EGD-7238] Fixed applications deinit handers
All apps deinit handlers should call the base function.
2021-09-09 12:51:22 +02:00
Piotr Tański
90e7a48198 [EGD-7362] Merge release/0.76.1 into master
Merge release/0.76.1 into master.
2021-09-02 11:12:59 +02:00
Pawel Olejniczak
109b151631 [CP-139] Add time based attempt logic to phone lock handler
Phone lock no longer bases only on number of attempts.
Now there is a cooldown time between each attempt,
starting from a third attempt.
2021-09-01 11:43:45 +02:00
Mateusz Grzegorzek
ed68fc92ec [BH-754] Split ServiceDB
- rename ServiceDB to ServiceDBCommon,
- create separate ServiceDB for Pure and Bell,
- move Pure-specific functionality
from `ServiceDBCommon` to Pure `ServiceDB`
2021-08-20 10:47:29 +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
Piotr Tański
c47f7bf535 [EGD-6978] Outgoing calls fixes
Fixed calling from ICE contacts, phonebook and messages.
2021-06-29 13:20:20 +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
Hubert Chrzaniuk
54ef6d5dda [EGD-5709] Add full actions support in call application
Application call used both actions and messages which
caused windows switch problems. It has been refactored
to handle all communication by actions.
2021-06-22 17:31:14 +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
Alek Rudnik
93c4675d1d [EGD-6701] System time usage fixes
Fixed all calls to stdlib time.
Removed all redundant calls to Timestamp treated as time source.
2021-05-27 16:54:44 +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
Przemyslaw Brudny
25ba341e6c [EGD-5884] Added Lock Screen popup handling
Moved lock screen window to popup. Split DesktopMainWindow into
two parts (popup and regular). Added LockPhoneHandler into
ApplicationManager.
2021-04-29 12:06:59 +02:00
Jakub Pyszczak
49c132c622 [EGD-6513] Volume control feedback
Added volume control feedback during music playback over Bluetooth.
Changed volume buttons handler logic in service audio to use actions
instead of messages.
2021-04-22 15:30:02 +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
Wiktor S. Ovalle Correa
cc0a76f2c7 [EGD-6485] Remove Cellular message types from global
Domain-specific message types should not pollute global space.
2021-04-20 17:31:36 +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
Przemyslaw Brudny
cbd74648d0 [EGD-6494] Application Manager on action switch fix
Application Manager switch on Action no longer causes to
newly opened application main window switch but it
calls declared action handler.
2021-04-13 10:59:29 +02:00
Piotr Tański
81adfe41ab [EGD-6347] Refactored phone modes handling in applications
PhoneModeObserver doesn't work properly in applications.
Applications have to handle the phone mode changes via AppMgr.
Phone mode and tethering handlers separated.
2021-04-12 14:54:55 +02:00
Bartosz Cichocki
22809d630b [EGD-6208] Add blocking phone mode changes during tethering
When the tethering is enabled, the phone mode shouldn't change,
now, any attempt ends with a notification
2021-04-12 12:56:36 +02:00
Piotr Tański
4f0c3c82af [EGD-6209] Tethering confirmation popup added
Provided a tethering confirmation popup.
The popup shows up once a USB cable is connected to a PC.
2021-04-08 09:26:46 +02:00
Kuba Kleczkowski
b88b8fc438 [EGD-6121] Add offline mode in service cellular
Adds entering and leaving ito offline mode in sevice
cellular. Outgoin SMS and calls are blocked Proper popups
are shown in applications Call and Messages.
2021-04-01 19:32:07 +02:00
tomaszkrosnowski
49de2d2c29 [EGD-6314] Phone mode widget visibility
Phone mode widget will be visible only on main screen, while entering
numbers or in emergency call mode. Also it will be disabled whenever NAT
widget is enabled.
2021-03-24 22:49:26 +01:00
tkros
1860bf210f [EGD-5744] Phone mode status bar widget
Added phone mode widget to top bar. The widget is mutually exclusive
with NAT widget. Phone mode is determined using phone mode observer.
2021-03-23 19:38:57 +01:00
Jakub Pyszczak
a21e02f91e [EGD-5743] Added phone modes popup
Implementation of phone modes window.
Minor fixes of previous approach.
2021-03-23 10:24:56 +01:00
Jakub Pyszczak
db4b41c56e [EGD-5712] Volume popup added
There is need of popup window on volume key
pressed event. This PR handles:
Creating base popup window attached to
application desktop.
Creating volume window.
Audio key events logic implementation.
2021-03-20 10:28:35 +01:00
Piotr Tański
efef7dcf7f [EGD-6111] Timers refactored
Deep refactor of system timers.
2021-03-19 14:09:35 +01:00
Krzysztof Móżdżyński
84c99029d8 [EGD-5449] Add final prompts windows
Added Dialog windows for "configuration successful"
"no configuration" and "update OS" for Onboarding.
Refactor Dialog window implementation and usage of
DialogMetadata in other applications.
2021-03-12 13:03:44 +01:00
Przemyslaw Brudny
84095629df [EGD-5883] Added generic button popups attach to applications
Created structure and implementation for popup windows
attachments on button actions into applications. Moved Volume
window to fit into solution. BarGraph refactored.
2021-03-03 22:21:11 +01:00
Hubert Chrzaniuk
fcb170f3d3 [EGD-5847] Fix call app when no CLIP available
The call app might have not appeared on the screen
when no caller info was available.
2021-02-25 15:13:48 +01:00
Piotr Tański
4f3366ee80 [EGD-4157] Actions queue added
All actions shall be queued in order to process them later.
2021-02-24 14:52:20 +01:00
Kuba Kleczkowski
993235b7b7 [EGD-5740] Change cellular message handlers
Phone modes dependent message handlig is moved to separated
handlers.
2021-02-23 17:41:53 +01:00
Lukasz Skrzypczak
c1d2fbb1c4 [EGD-3685] Extra space removed
Left some extra space & failed formatting check
2021-02-18 17:27:54 +01:00
Lukasz Skrzypczak
db425e53b2 [EGD-3685] Cleaning
Cleaned some unnecessary code
2021-02-18 17:27:54 +01:00
Lukasz Skrzypczak
a5d1fadf2e [EGD-3685] Vibra handling
Added driver & business logic. Responds to messages.
2021-02-18 17:27:54 +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
Hubert Chrzaniuk
f37cbe21b2 [EGD-5045] Change call flow handling for lock screen
Call requests on lock screen have to be handled
separately to allow only emergency and ICE numbers.
2021-02-04 14:33:17 +01:00
Jakub Pyszczak
7b50138644 [EGD-5393] Wrong emergency number window
According to lately added emergency call window
there is need of window that handles invalid number
dial as emergency number.
2021-01-29 11:53:57 +01:00
mkamonMdt
9bf26e0e25 [EGD-4889] Fix add/edit contact from dial window
Original behaviour (from dial window) was that user-provided number
was send to db with partial match query. This could cause more than
one result, with no further selection rule. Solution to this
particular behavior was to switch to full number match query.

Additionally problem with unrecognizable prefixes in user-provided
numbers was solved.
2021-01-26 09:57:04 +01:00
Jakub Pyszczak
58668722d6 [EGD-5043] Add emergency call window
According to PurePhone design emergency call
window is needed after "SOS" callback at the screen lock.
This PR introduce implementation of emergency call window
and also refactor in the enter number window. Both windows
derives from new number window.
2021-01-26 09:42:48 +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
alek
1f7d471831 [EGD-4429] Fix gui issues in application call
Fix the persistent answer and reject labels in Call Window issue
Fix the wrong call duration issue in both Call and Calls apps
Fix the not working call ignoring issue
2021-01-18 11:16:43 +01:00