Commit Graph

35 Commits

Author SHA1 Message Date
Lukasz Mastalerz
d9a1194e6f [BH-1688] Create a standard for logs
* Adding document describing how to use logger
* Adjusting logs to follow a new guide
* Change order in log header:
  line number is now before function name
2023-10-23 15:17:44 +02:00
Lefucjusz
674a768364 [MOS-669] Add too hot battery notification when charging
* Added notification showing on the main
screen if the battery has reached too
high temperature to continue charging.
* Code cleanups.
2023-10-16 12:54:13 +02:00
Lefucjusz
06d16390c2 [MOS-1021] Fix blocked passcode behavior
Fix of the issue that after blocking
passcode from Center, Pure would still
display passcode input popup; providing
valid passcode there would result in
phone entering invalid state, where it
behaved as if it was unlocked, but
with blocked passcode.
2023-08-29 16:43:49 +02:00
Lefucjusz
561e4e7a0d [MOS-599] Fix undefined phone mode in simulator
Fix of the issue that on simulator phone mode
was in 'undefined' state, what resulted in
no phone mode selected in settings.
2023-06-29 10:50:25 +02:00
Marcin Zieliński
c8ad07c3c0 [MOS-578] Fix misleading SMS notification text
Display "New message", translated accordingly - in
singular - in case there had been multiple unread
SMS messages and now only one remains unread.
2023-05-09 12:13:29 +02:00
Lefucjusz
035eb4239a [MOS-174] Fix broken events counter for 99+ events
Fix of the issue that events counter
was displayed incorrectly for more
than 99 events.
2023-01-27 11:13:53 +01:00
Marcin Zieliński
5b88233d37 [MOS-791] Introduce tri-state switch widget
Introduced the new logic.

From now on, every button can be tri-state, that is,
OFF/ON/Transiting whereas the Transiting state is
marked with the 'cheking...' caption written on the
button.
2022-11-09 13:32:21 +01:00
Marcin Zieliński
3cbfe43a95 [MOS-791] Introduce tri-state switch widget
Refactored the code so that it's prepared for the new logic.
2022-11-09 13:32:21 +01: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
Lefucjusz
ab02490917 [MOS-559] Fix phone unlock after mode change
Correction of the previous fix addressing this issue.
Previous idea didn't work when popup tried to
display in application other than ApplicationDesktop
2022-06-30 13:31:18 +02:00
Bartosz Cichocki
228fca4b83 [MOS-463] Unify cellular namespace
Unified cellular namespace, fixed test buildiing,
removed some unused includes
2022-06-08 10:54:29 +02:00
Lefucjusz
dd3eeaf1e2 [MOS-240] PVS Studio analysis bugs fix
Fixes to major part of issues found
by PVS Studio static analysis
mainly micro-optimisations
2022-03-28 13:57:08 +02:00
Adam Dobrowolski
f7f5bc377a [EGD-8208] Added stop audio route on async response
We get Token on play, and require it in stop. While we cant
stop sound by title & data set to play. And adding standard
handling causes either totally synchronous calls or requires
multiple additional guards it seemed like best use.
Fixed expectation for the same named Response, but meant for bell
Needed so that
- we ring only when needed
- we handle CLIP and RING properly
Applied style
Missed file added
Moved SML logger as it's usefull to some more common parts of code
2022-02-22 13:36:27 +01: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
Marek Niepieklo
2f8cda20f5 [MOS-143] Fix notifications for unread message/missed calls
Added Notifications Decrement query
Fixed updating notifications on home/lock screen
2022-02-21 11:30:59 +01:00
Alek Rudnik
425d23e454 [MOS-97] Fix of wrong label for missed call notification
There was no label on missed call notification from private number.
After fix it is diplaying "Missed calls" info.

Original fix from 60bdca5243 [MOS-104]
was also modifed as it previously introduced regression on menu window.
2022-02-15 10:06:13 +00:00
Alek Rudnik
f6a3fcc82a [EGD-8167] Fix for crash on SOS screen
Paramter pointer was used without checking if it is nullptr
2022-01-25 15:33:25 +01:00
Wojciech Rzepecki
097267d860 [EGD-6824] Simplified notifications on quote wallpaper
simplified home screen notifications as tiles on phone
locked wallpaper
2022-01-14 13:20:39 +01:00
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
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
3b84af2746 [EGD-7631] PhoneLock timer system time independence refactor
Refactored PhoneLock to be independent of system time.
Refactored refresh options for notification receive on
Windows.
2021-09-30 17:01:53 +03: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
Wojtek Rzepecki
274d31cb35 [EGD-7569] Add Alarm snooze list notification
Notification added to notifications model
2021-09-16 17:00:41 +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
tomaszkrosnowski
9c0dde9a03 [EGD-7485] Fix cellular behaviour in offline mode
When in offline/message only, while Pure is in message poll mode and
incoming call will happen CellularService will start answering call thus
resulting to show the incorrect info in call log and not showing the
first call after Online mode is switched back.
This commit is cherry-picked from EGD-7332.
2021-09-03 14:41:06 +02:00
Przemyslaw Brudny
dcaed12cad [CP-138] PhoneTimeLock implementation
Implemented PhoneTimeLock after unsuccessful attempts. TimeLock
data stored in DB on each attempt and read on system start.
Cleanup PhoneLockHandler structure.
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
GravisZro
e433e8dd03 Fix transparent backgrounds in PlantUML
Images generated using PlantUML had transparent backgrounds which made
their text difficult to read on GitHub when using "Dark Mode". Forcing
a background color of #F0F0F0 ensures they are all readable.
2021-08-16 17:01:19 +02:00
Przemyslaw Brudny
70ad87ae0b [EGD-7065] Phonebook edit contact style updates
Updated widgets margins. Updated used fonts. Updated focus
change bold on font, cursor position, underline bold. Added
line spacing support and cleaned underline properties.
2021-07-30 16:41:26 +02:00
Mateusz Grzegorzek
7188802f8e [BH-669] Fix CMake in service-appmgr
Fix CMake in service-appmgr
2021-07-21 14:19:41 +02:00
Przemyslaw Brudny
f463a75a93 [EGD-7164] ListViewEngine separation from ListView
ListViewEngine separation from ListView to support different
scrolls and body ListViews on Bell.
2021-07-19 16:32:10 +02:00
Wojtek Rzepecki
fc3e4f73d7 [EGD-6956] Add offline calls notifications
Changed calls notifications for offline mode
2021-07-02 13:48:26 +02:00
Wojtek Rzepecki
e147ff1b81 [EGD-6957] Add sms notifications in DnD
SMS notifications configuration in do
not disturb phone mode
2021-07-02 13:19:05 +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
Paweł Joński
a7fba1b343 [BH-374] Librarize application-antenna
Add apps-common, librarize application-antenna
2021-06-17 12:54:02 +02:00