Commit Graph
4292 Commits
Author SHA1 Message Date
Wojtek Rzepecki 4c19fa16b3 [EGD-7612] Add alarm popup
Added alarm popup window. Added ImageBoxWithText
widget.
2021-09-22 15:51:17 +02:00
Paweł Joński b82c29fa39 [BH-756] Frontlight on alarm ringing
Frontlight on alarm ringing
2021-09-22 15:19:47 +02:00
Paweł Joński bac94217d9 [BH-871] Stop music at alarm end
Stop music at alarm end
2021-09-22 14:29:56 +02:00
Maciej Gibowicz 8534d9abe9 [EGD-7563] Hold minimum CPU frequency for logs dump
During the log dump, we wake up the CPU to 66 MHz
instead of the maximum frequency.
2021-09-22 13:17:28 +02:00
Paweł Joński 82eaee5359 [BH-885] Fix Bell hw
Increased stack for apps and service
Deleted invalid call to uninitialized SML in BatteryCharger
Moved torch handling from common code to pure specific
2021-09-22 12:19:56 +02:00
Piotr Tański 4175025f36 [EGD-776] PreWakeUp chime
Added a prewakeup chime handler.
2021-09-22 11:30:54 +02:00
Marcin Smoczyński e0fae087a6 [BH-908] Fix macros header location
Remove duplicated header for linux; move header for rt1051 to the same
tree as for linux.
_exit.c uses os so it should be placed in the os.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-22 10:26:32 +02:00
mkamonMdt 44818b1287 [BH-880] Fix of missing minus in PowerNap
The bug could be noticed on the PowerNap's
progress window. The countdown there is supposed
to be increasing in value, that means the minus
sign should be visible at all non-zero values.
2021-09-21 20:10:28 +02:00
Pawel Olejniczak caffed99b5 [CP-439] Add case color to device info endpoint
Color of Mudita Pure's case can be now read from
device info endpoint.
2021-09-21 19:39:14 +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
Marcin Smoczyński 5f03b9148e [EGD-7641] Disable service desktop tests
Disable tests due to linkage problems.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-21 15:07:08 +02:00
Przemyslaw Brudny 07cccecf02 [BH-820] Revert 32 pressura bold deletion
Reverted 32 pressura bold deletion as it is used
in EULA Pure windows.
2021-09-21 15:02:26 +03:00
Przemyslaw Brudny e3a057e15c [EGD-7310] Alarm GUI and features update
Updated AlarmOptionsItem to use UTF8Spinner.
Created specialized widgets to cover options
sets. Updated GenericSpinner to handle Pure
navigation and content swap. Updated Alarm
RRule code to work with Custom Days selection
and new widgets. Added Tests. General GUI
stylistic fixes. Increased app Alarm Clock
and service Time stack sizes.
2021-09-21 14:11:21 +03:00
Mateusz Piesta cd0cc6dc1a [BH-890] Home screen alarm popups
Added proper handling of deep up/down
keys when in intermediate states
(alarm deactivate/activate).
2021-09-21 11:44:05 +02:00
Artur Śleszyński b15006a94c [CP-564] Make desktop endpoints a separate lib
In order to have different sets of endpoints for different products,
we need to separate endpoints from the desktop service.
2021-09-21 10:41:37 +02:00
Piotr Tański bf3897b649 [EGD-7610] Unnecessary services and apps removed
Removed lwIP, FOTA and clock application.
2021-09-21 08:34:53 +02:00
Piotr Tański 3a9ab31a76 [BH-776] Implemented PreWakeUp unit tests
Unit tests added for the PreWakeUp basic implementation.
2021-09-20 16:43:02 +02:00
Adam Dobrowolski d83e8fe34b [EGD-7445] Removed dead scripts
Removed dead scripts
2021-09-20 12:58:45 +02:00
Marcin Smoczyński f16a18d935 [BH-860] Decouple charger driver from system
Remove system dependency from charger driver implementation. Remove
circular, lambda driven dependency between charger and brownout
detector. Remove event manager dependency in driver as well.
Encapsulate some of charger logic in introduced battery controller.

Extract path configuration to the separate target to decouple charger
from vfs middleware.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-20 12:19:48 +02:00
Maciej Gibowicz 91da0239aa [EGD-7481] Add user heap stats to puregdb
In the puregdb debugging script we have data about the system
heap and we need data about the user heap.
2021-09-20 10:51:58 +02:00
mkamonMdt fe54fbe61c [EGD-878] Add Background Sounds basic app structure
The following commit provides an implementation of basic
Background Sounds application structure that will serve
as base for futher developement
2021-09-18 14:22:06 +02:00
Przemyslaw Brudny 8c5ca7e174 [BH-703] Base Bell OnBoarding application
Added base Bell OnBoarding application. Bell list
options refactor.Language selection, setting and
finalize windows.
2021-09-17 19:38:35 +03:00
Mateusz Grzegorzek 19ad0adcfa [BH-876] Refactor SnoozeSettings using generic approach
In order to use settings models in other
settings windows generic approach could be implemented.
2021-09-17 11:09:56 +02:00
Przemyslaw Brudny 40eb7ad1d5 [BH-820] Bell layout and font update
Updated Bell baseLayout and biggest used font.
2021-09-16 20:49:04 +03: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 cb9dafdb3a [BH-873] Activate alarm in backend on Alarm activation
Activate alarm in backend on Alarm activation
2021-09-16 09:53:16 +02:00
Piotr Tański a33d4ea7c2 [EGD-7583] Merge stable into master branch
Merge stable into master branch - manual part.
2021-09-15 19:18:58 +02:00
Piotr Tański ac7a942045 [CP-583] Update failure due to version.json on the phone
Added version.json to the image

(cherry picked from commit 395e99e162)
2021-09-15 19:18:58 +02:00
Lucjan Bryndza 72f7d7fa81 [EGD-7391] Fix random crash on idle
Add atomic primitives for fix
random crash on idle mode

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
(cherry picked from commit 7b75494ba5)
2021-09-15 19:18:58 +02:00
Marcin Smoczyński e6db00cb0c [EGD-7486] Increase stack sizes
Increase stack sizes of the eink service and the system watchdog. During
stability tests stack-overflows were observed for both threads.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
(cherry picked from commit f9a23a7b58)
2021-09-15 19:18:58 +02:00
Piotr Tański 26d75e69a4 [EGD-7466] Offline mode defaults changed
Flight mode is not the default offline mode.

(cherry picked from commit d49c8ddbf8)
2021-09-15 19:18:58 +02:00
Maciej Gibowicz b74a72dc4e [EGD-7484] Increase CPU frequency for screen redraw
Increasing CPU frequency for screen redraw when screen is locked
due to DMA problems at lower frequencies.

(cherry picked from commit ddc80d3ed5)
2021-09-15 19:18:58 +02:00
Piotr Tański f93fe176e7 [BH-776] Pre-wakeup handling skeleton
First draft of pre-wakeup handling mechanism.
2021-09-15 18:13:42 +02:00
Piotr Tański bdbda7fd96 [EGD-776] Bell-specific AlarmOperations
We need a separate alarm operations for the Bell.
This is the first step of pre-wake up implementation.
2021-09-15 18:13:42 +02:00
Adam Dobrowolski 5e919448eb [EGD-7501] Rrules presenter added
- handles most of our rrule manipulation needs for alarm
- unittests for transformations
2021-09-15 13:08:54 +02:00
Paweł Joński 74fc2bffc5 [BH-593] Use correct time format in alarm setting
Use correct time format in alarm setting
Move TimeModel to common
2021-09-15 11:28:37 +02:00
Paweł Joński 490845caaa [BH-593] Set alarm from menu
Set alarm from menu
2021-09-15 11:28:37 +02:00
Mateusz Grzegorzek f74b809ae0 [BH-833] Show popup on Alarm deactivation - part II
Create AlarmDeactivatedWindow popup
which is displayed on AlarmDeactivated event.
2021-09-14 12:44:38 +02:00
Mateusz Grzegorzek 1c551cc4e4 [BH-831] Show popup on Alarm activation - part III
Get alarm time from service-time
2021-09-14 12:26:13 +02:00
Maciej Janicki 441b9b4667 [BH-715] Add switches handling
Add Bell switches handling including latch support.
2021-09-14 10:13:56 +02:00
mkamonMdt 659570ca13 [BH-863] Fix powernap spinner arrows
There were an issue in the PowerNap's main window,
that the spinner's arrows would not disappear on reaching
extremums. To solve this the commit adds a setArrowVisible
functionality to the gui::BellBaseLayout, a onValueChange
callback to gui::Spinner and employs both to the
gui::PowerNapListItem to solve the issue.
2021-09-13 16:37:42 +02:00
Paweł Joński 4ec2d6a1f4 [BH-622] Fix next alarm logic and queries
Simplify recurring between dates query
Round all events dates to full minutes
2021-09-13 16:13:06 +02:00
Maciej Janicki c55a1aff41 [BH-511] Add encoder UI events handling
Add encoder rotation event handling.
2021-09-13 14:31:18 +02:00
Mateusz Grzegorzek 67e51a7380 [BH-861] Cleanup Application split - quick fix
Fix Bell `Application::attachPopups` method
2021-09-13 13:57:11 +02:00
Mateusz Grzegorzek 6224c8d56e [BH-833] Show popup on Alarm deactivation - part I
Handle Deep press down when not on Home Screen.
2021-09-13 12:29:15 +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
Paweł Joński 05847f09d1 [BH-743] Fix alarm deletion from DB
Remove cascade deletion from sql
Add manual deletion from 2 tables
2021-09-13 10:08:29 +02:00
Piotr Tański 6ab09d5ffd [EGD-7459] Fixed factory reset process
Fixed the factory reset process.
2021-09-11 16:23:51 +02:00
Mateusz Piesta 18a3886338 [BH-862] Snooze settings
Added snooze settings flow.
2021-09-10 15:35:40 +02:00
Bartosz Cichocki 8145a88401 [EGD-7077] Rework of BT connection status in AppSettings
Reworked AppSettings handling of BT devices to be prepared for
handling the HFP profile, eliminating by the way few bugs and
speeding up the flow (by getting rid of few refreshes).

Added unit tests for handling the BT devices flow
2021-09-10 13:19:29 +02:00