Commit Graph

1759 Commits

Author SHA1 Message Date
Lefucjusz
181feb4f40 cleanup 2024-08-20 15:40:34 +02:00
Lefucjusz
df6d7848f5 [BH-2056] Add bedside lamp settings
Added possibility to customize
brightness and activity time
of bedside lamp functionality.
2024-08-19 15:58:30 +02:00
Lefucjusz
d558e60a4d [CP-2013] Add time sync endpoint
Added endpoint that can be used
to synchronize time via MC
protocol.
2024-08-13 16:13:12 +02:00
Lefucjusz
85a6dba50d [BH-2054] Fix build with CONFIG_ENABLE_TEMP set to ON
* Fix of the issue that project build would
fail if trying to run it with enabled
temperature sensor. The sensor itself is
not functional due to hardware issue,
but if such option is present in the
codebase, it should be kept working.
* Cleanups.
2024-08-09 14:59:34 +02:00
Maciej Gibowicz
c77a104f3d [BH-1991] Creating a new application "What`s new"
We create a new "what's new" application, which starts after the update
is completed and when the saved version number is different from the
current one.
2024-07-10 12:45:46 +02:00
Lefucjusz
f585c33b7a [BH-2002] Fix crash when connected with broken USB cable
Fixes of the issues that would cause device
crash when connected with broken USB cable:
* fixed memory leaks in VCOM init and deinit
functions;
* guarded accessing desktopWorker object in
message handlers, as messages are asynchronous
and might arrive after worker has already been
destroyed. Not the cleanest solution, but
does the trick
2024-06-06 14:37:07 +02:00
Lefucjusz
8a25c9e1d2 [BH-2001] Fix debug build with new FSL
* Fixed some issues that have been
caught by asserts in debug build.
* Minor cleanup.
2024-06-04 11:02:17 +02:00
Lefucjusz
2e04d268c4 [MOS-1068] Fix A2DP stream not restarting after song changes
Workaround for the issue that A2DP stream
would sometimes not restart when music
player changes song to the next one.
2024-05-29 17:33:30 +02:00
Lefucjusz
395849fc9c [BH-000] Update Harmony 2.7.0 changelog
Update changelog after Harmony 2.7.0
release.
2024-05-29 15:36:51 +02:00
Dawid Wojtas
70d3ba4c03 [BH-1935] Fix the backlight in pre-wake up
If the chime is before the backlight we need to ignore
keys. Otherwise the back button will run the backlight.
2024-04-15 14:29:55 +02:00
Dawid Wojtas
bc9982c090 [BH-1876] Change main alarm list to vertical
Now the main alarm uses the vertical list to display songs.
Fixed the order of songs from the database. Added translations.
2024-04-10 15:33:14 +02:00
Lefucjusz
75c12a82e5 [BH-1895][BH-1909][BH-1910] New database structure for custom sounds
* Added creation of /user/media/app/alarm
directory that will be used to store
custom alarm sounds.
* Implemented new database structure.
* Adapted Alarm, Bedtime, Pre-wake up and
Snooze to new database structure.
* Added removing custom alarm files during
factory reset.
* Added fallback alarm sound mechanism.
* Cleanups, unifications.
2024-04-10 15:33:14 +02:00
rrandomsky
4f63943a4c [BH-1792] Updated button handling during pre wake up
Button action behavior has been updated for pre-wake.
Now, if pre-wake is in progress, the first press, in addition to pressing
the front light, disables the pre-wake function.
2024-03-18 11:28:20 +01:00
rrandomsky
93eb6be683 [BH-1799] Refactor usage of unicasts to dispatch BatteryStatusChangeMessage
Unicast type of sending BatteryStatusChangeMessage is changed to multicast type.
Thanks to this, the flow of messages is more transparent
and there is no unnecessary transmission to non-existent services.
2024-03-12 11:31:45 +01:00
Lefucjusz
4ad0f29ab4 [BH-1898] Fix of GUI freeze after intensive volume change
Fix of the issue that GUI would freeze for
several seconds if volume level was being
changed intensively for a while.
2024-03-06 14:05:55 +01:00
Lefucjusz
cdf5dbf557 [BH-1887] Speed up update process
* Added stream buffering for reading data
from tar archive with update.
* Increased size of the buffer used
for unpacking files from tar archive.
* Changed buffers data type from vectors
to raw heap-allocated arrays.
2024-02-28 09:58:46 +01:00
Lefucjusz
752147e814 [BH-1881] Add progress bar to update process
* Modified Lua update scripts to show simple
progress bar during update process in
Recovery.
* Fixed regression with failing factory
reset on Pure.
* Split Lua scripts per product.
2024-02-23 15:55:12 +01:00
Dawid Wojtas
1839b2c6b4 [BH-1861] Backend for quotes on home screen
Implement a backend for getting and shuffle
the quote for home screen clock face.
2024-02-22 12:07:30 +01:00
Maciej Gibowicz
f388b77cc6 [BH-1882] Fix display of "Connected" label on home screen
The "connected" label did not appear on the home screen if the USB was
connected during onboarding.
2024-02-22 11:17:08 +01:00
Lefucjusz
d8293b8254 Revert "[MOS-1064] Fix no input language selected for French/Spanish"
This reverts commit 9ef454085e.
2024-02-21 17:49:30 +01:00
Lefucjusz
9ef454085e [MOS-1064] Fix no input language selected for French/Spanish
* Fix of the issue that choosing French
or Spanish as a system language
resulted in no input language selected.
* Added keyboard input parser unit
tests for French and Spanish input
maps.
* Minor cleanups.
2024-02-20 16:32:46 +01:00
Lefucjusz
9a8ffff654 [BH-1863] Fix deleted file popup showing in Relaxation
* Fix of the issue that 'File has been
deleted' popup would show in Relaxation
app at the end of playback if the
playback was paused at least once,
even though the file wasn't actually
deleted.
* Added very basic audio decoder error
handling and propagation mechanism.
* Minor refactor around several
audio-related parts.
2024-02-01 12:09:32 +01:00
Lefucjusz
32c6769cb6 [BH-1657][BH-1833][BH-1854] Add WFI and SDRAM self-refresh mode
* Added mechanism enabling CPU to
enter WFI mode when the OS is
in idle, what results in large
power consumption reduction.
* Added mechanism to switch SDRAM to
self-refresh mode before entering
WFI, what resulted in further power
consumption reduction.
2024-01-22 12:32:35 +01:00
Lefucjusz
790c643967 [BH-1856] Add setting onboarding year to build year
Added mechanism automatically setting
the default year shown in the onboarding
to the year of build to avoid changing
it manually every year.
2024-01-17 16:04:05 +01:00
Lefucjusz
8b3ae7b48c [BH-1857] Fix improper PWM module clock frequency computation
* Fix of the issue that source clock for PWM
module was improperly assumed to be derived
from AHB_CLK, while in reality it is
derived from IPG_CLK, what resulted in
module generating signal with 4 times
lower frequency than the configured
one.
* Cleanups.
2024-01-16 13:58:26 +01:00
Mateusz Szczesny
6e76dc3e5f [BH-1787] Reboot to MSC endpoint
To allow the automation of gathering logs and swapping out OS images during tests a MSC reboot
endpoint was added. Together with a change to ecoboot, this allows the sending of a "reboot to
MSC" command. The deivce will then reboot and enter MSC mode.
2023-12-04 12:41:37 +01:00
rrandomsky
b821747851 [MOS-1059] Erase only sensitive data from logs
Erase only sensitive data from logs.
2023-11-30 12:31:05 +01:00
Lefucjusz
4b66a8974f [BH-1782] Add brightness fade in
* Added brightness fade in - feature
which allows for gradual frontlight
brightness rise during alarm and
power nap ringing instead of turning
on with full brightness immediately.
* Fixed possibility to close
ringing power nap by long press
of back button.
2023-11-28 10:11:26 +01:00
Dawid Wojtas
6cc2bc9df4 [BH-1830] Fix eink crash while refreshing
If the previous refresh failed the driver tried to add a new frame
in the front of the vector. In some cases, the updateFrames could
be empty, and adding a frame caused a system crash.
2023-11-23 08:30:05 +01:00
Lefucjusz
121879f4ec [MOS-220] Changed signal strength refresh mechanism
Modified signal strength update mechanism
to avoid unnecessary screen refreshes in
case new signal strength value is equal
to the previous one.
Minor cleanups.
2023-11-09 13:07:00 +01:00
Lefucjusz
a21a2fdfec [MOS-1051] Updated HNI codes for VoLTE support
Reviewed and updated HNI codes lists
for all countries with VoLTE support.
2023-11-03 10:04:27 +01:00
Lukasz Mastalerz
feec59f534 [BH-1696] Notification when connect the device to the charger
Adding notifications when charger is connected
2023-10-31 16:23:48 +01:00
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
a21736e3a6 [MOS-1050] Add missing Germany HNI codes
Updated list of operators' HNI codes
in Germany, added missing ones.
2023-10-23 11:11:55 +02:00
Alex0vSky
2cf455dc13 [MOS-1046] Update module-services/service-cellular/call/doc/README.md
Typo in documentation module-services/service-cellular/call/doc/README.md
The state machine library is called `sml`, not `stm`.
2023-10-17 15:08:35 +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
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
6665a43d2b [BH-1780] Fix uncaught std::filesystem::file_size exception
Fix of the issue that exceptions thrown
by file_size method were not caught
at all, what resulted in system crashing.
2023-10-02 16:40:54 +02:00
Lefucjusz
4651eb3cf9 [MOS-1033] Add 'beta' label to VoLTE switch for selected countries
Added mechanism enabling to individually show
or hide "beta" label on VoLTE switch for each
country.
2023-09-27 16:34:38 +02:00
Maciej Gibowicz
635ad1ac05 [BH-1774] Fix frequency lock during user activity
- Sentinel locks the frequency when pressing buttons and the encoder.
- The "user activity" sentinel will be properly managed by the system
(CpuGovernor) just like other sentinels.
- Adding information about active sentinels in the power management
statistics logs
2023-09-26 11:04:50 +02:00
Lefucjusz
f1f2a7cfc5 [MOS-1038] Fix CPU frequency hanging after SMS received
Fix of the issue that in some cases (e.g. after
text message was received) ServiceAudio would
not release CPU sentinel, what resulted in
quick battery discharge.
2023-09-20 10:06:51 +02:00
Lukasz Mastalerz
684ecb7a78 [BH-1767] Fix the pre-revert issue inside ServiceGUI
Introducing states to ServiceGUI instead of using bool variables as
flagss.
2023-09-15 11:13:26 +02:00
Lefucjusz
55ee585837 [CP-2184] Fix Pure not connecting to MC after leaving tethering
Fix of the issue that after disconnecting tethering Pure
would not connect back to Center, only USB cable
reconnection would resolve the issue.
2023-09-13 15:33:14 +02:00
rrandomsky
d84671140f [MOS-1007] Fix for no popup when contact cannot be saved because of same nubers
Fix for fix. It add popup when user try to save contact witch practically
the same numners  (even if having a country code is only difference)
2023-09-07 11:57:06 +02:00
Dawid Wojtas
ddc1c64160 [BH-1761] Add a log when manual reset is performed
If the user performs a manual reset there is no information in
the logs. It can be treated as software resets.
So the best solution is to add a log about incoming
manual reset and dump all logs to the file.
2023-08-31 17:11:16 +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
rrandomsky
3812cfd7b8 [MOS-1010] Fix for Alarm disappearance during end of call window
It was possible to display an Alarm with the appropriate Alarm window exactly when
end of call window with call summary are displayed and automatically closed after
3 seconds. This commit will fix this scenario. Now Alarm is snooze in the same way
as if there is a phone call going on.
2023-08-28 17:04:59 +02:00
Lefucjusz
7a8e35016d [MOS-1026] Add extended logging to Pure's charger driver
* Added extended logging to Pure's charger driver.
* Removed redundant handling of INOKB pin
interrupt - charger is configured to provide
the same interrupt via INTB pin.
* Minor code cleanup.
2023-08-28 10:14:51 +02:00
Lefucjusz
93b11aa70d [MOS-1024] Fix unlocking phone after locked with tethering popup
Fix of the issue that after phone has locked
on tethering confirmation popup, unplugging
USB cable would result in bypassing phone
lock screen without providing password.
Minor ApplicationCommon cleanup.
2023-08-25 11:21:45 +02:00
Lukasz Mastalerz
98fb56a909 [CP-2074] The center doesn't detect if the user goes back to the license screen in pure
Keeps phone forbidden to connect to Center until the onboarding is finished.
2023-08-23 16:01:05 +02:00