Commit Graph

326 Commits

Author SHA1 Message Date
Lefucjusz
773f2c7eb1 [BH-2069] Update license URL in headers
Update outdated license file URL in
license headers across all project.
2024-09-18 11:53:01 +02:00
Lefucjusz
ac17db13ea [BH-1897] Add tick icon to currently selected sound
* Added mechanics showing tick icon
next to currently selected sound
in Bedtime and Pre-wakeup.
* Removed no longer used LabelOption
widget.
2024-04-10 15:33:14 +02:00
Lefucjusz
b2013d422a [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.
Effectively reverts
8f8b9d86b3.
2024-02-21 18:01:32 +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
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
22d9134476 [MOS-1052] Change VoLTE label from 'beta' to 'experimental'
Changed VoLTE label from 'beta' to
'experimental'.
Fixed transition state label font
size to match the design.
2023-11-07 15:46:38 +01:00
rrandomsky
8f8b9d86b3 [MOS-498] Change input language with the change of the system language
Now when the user changes the system language, the input/keyboard language
will change automatically (in the background).
If the user changes the input/keyboard language, this will not change
the system language.
2023-10-31 10:34:24 +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
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
Lefucjusz
3cbbeff551 [MOS-1011] Fix frequency switching stability
Multiple fixes of clock switching related
stability issues:
* added RC oscillator hysteresis as in NXP example;
* changed DCDC converter config;
* configure PLL2 to be able to run on any CPU
frequency level;
* added switching to 1.275V (overdrive) voltage
when applying any clock change above 12MHz as
well as LDO or bandgap switching, as done in
Mbed OS' lpm.c for RT1050;
* changed BMCR AXI queues weighs for SDRAM
in JLink scripts to disable operations
reordering, as it is known to cause data
integrity issues;
* extracted some code to separate files;
* smaller or bigger code cleanups.
2023-09-07 17:19:15 +02:00
Lefucjusz
321f56e774 [MOS-1032] Fix misleading 'Save' button behavior when setting time
Fix of the issue that pressing 'Save' when setting
time would set the time indeed, but the UI would
not return to previous window, what might look
as if saving failed.
2023-09-07 13:13:01 +02:00
Lefucjusz
663177ad49 [MOS-170] Report domestic roaming as home network
Changed behaviour of roaming indicator so that
domestic roaming is displayed as home network.
2023-08-08 21:00:32 +02:00
Lukasz Mastalerz
f7ad63c951 [BH-1412] Fix services dependencies
Changes in dependecy managment
Replacing state flags with states in ServiceGUI
Unifying some parts of code
2023-08-01 17:22:48 +02:00
Lefucjusz
6ed82f3fa3 [MOS-1005] Fix handsfree ringing after caller hangs up
* Fix of the issue that incoming call triggered
handsfree ringing which didn't stop after
calling side hung up.
* Cleanup of several places in code, minor
bluetooth <-> cellular integration refactor.
2023-07-17 15:16:29 +02:00
Lefucjusz
53e2fae8fb [MOS-178] Add input mode displaying timeout
Added timeout for displaying selected input
mode - now it automatically disappears
after 3 seconds since last change was made.
2023-03-23 11:01:34 +01:00
Lefucjusz
482d53450e [MOS-906] Fix missing tick mark in ringtones list
Fix of the missing tick mark that should appear
on the currently selected ringtone, but didn't.
2023-02-17 09:26:25 +01:00
Lefucjusz
3e762ab8d4 [MOS-28] Change alarm sounds and ringtones preview behavior
Change of the behavior of alarm sounds
and ringtones preview, so that it matches
with the design.

Additionally fixed lack of ringtones list
looping.
2023-02-15 15:53:15 +01:00
Lukasz Mastalerz
d7c8a8a6bf [CP-1210] Contacts imported from SIM dont show up in Mudita Center
Fix for imported contacts from SIM don't show up in Mudita Center.
Added functionality to send notification after all imported contacts are
added to the database.
2023-01-26 15:12:10 +01:00
Lefucjusz
3887c43ca5 [CP-1734] Create factory reset reboot UI
Create window that will be shown when the
device turns off first time after factory
reset request made from PureOS.
2023-01-19 16:41:56 +01:00
Lefucjusz
7fc6627759 [MOS-783] Fix crash on entering SAR menu
Fix of the issue that entering SAR option
in menu resulted in crash of the phone
due to uncaught exception caused by
invalid path provided.
2023-01-19 16:41:56 +01:00
Lefucjusz
afd7e7bc2c [MOS-783] Working Pure simulator after partition changes
Fixed iosyscalls so that Pure simulator
works after directory structure changes.
2023-01-19 16:41:56 +01:00
Bartosz
fab9068a52 [MOS-786] Added A/B booting support in OS
Added basic support for A/B booting
2023-01-19 16:41:56 +01:00
Lefucjusz
178fba165e [MOS-783] First part of new dir structure implementation
Works:
    - generating .img for Pure;
    - Pure boots after flashing new image and
    seems to be working fine;

    Not yet:
    - generating update package;
    - generating image for Harmony;
    - simulator;
    - path-related unit tests fail
    due to paths being hardcoded
    in test scenarios.
2023-01-19 16:41:56 +01:00
Kuba Kleczkowski
624fa2874b [MOS-373] Fixed missing timezone window
Fixed missing timezone window, which should be displayed
after Automatic date and time setting is set to disabled.
MOS-181 is also fixed by this commit.
2022-12-21 15:59:13 +01:00
Maciej-Mudita
fe61ede5ed [MOS-836] Fix for selecting SIM during onboarding
After inserting the SIM tray at the onboarding stage
before selecting the slot - it is not possible to select
the slot and activate the desired SIM card if it does not
have a PIN enabled.
2022-12-13 11:28:51 +01:00
Marcin Zieliński
357ae2d51c [MOS-825] VoLTE steering according to IMSI
Steering the GUI and the modem according to
whether VoLTE is permitted for the active
SIM card's operator. This is done based on
the SIM card's IMSI string.

Additionally, made logging more consistent.
2022-11-30 08:29:39 +01:00
Marcin Zieliński
1c96ab62e1 [MOS-821] Adjust VoLTE GUI basing on operator
When VoLTE isn't permitted for the current SIM
card's operator, display information only.
Otherwise, display a switch.
2022-11-28 12:21:55 +01:00
Maciej-Mudita
bc6eda4083 [MOS-800] Add a popup for changing the SIM card
Sometimes the process of changing the SIM card
takes a few seconds and the user needs to be informed
that something is going on in the background.
2022-11-27 16:53:42 +01:00
Marcin Zieliński
b069b7bc6b [MOS-793] Connect GUI and modem VoLTE steering
Additionally, fixed many covert bugs that emerged due to
modem restarting.
2022-11-23 09:47:07 +01:00
Maciej-Mudita
d528cac7df [MOS-641] Fix SIM cards window
Creating menus and actions depending on the SIM card
lock status.
2022-11-22 09:49:55 +01:00
Marcin Zieliński
5d5bb198a4 [MOS-801] Fix memory handling around NetworkWindow
Added the missing window destroyer.
2022-11-15 12:46:38 +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
8154243205 [MOS-770] Replace VoLTE state switching mechanism
Thrown out the previous implementation.
2022-11-02 12:12:02 +01:00
Marcin Zieliński
bd1222fcc8 [MOS-350] Restored notifications about PIN changes
Made SimInfo pop-ups completely omitted when
going back to windows.

Fixed the SimUnlockInputRequestParams's
constructor.

Done a bit of refactor in the places of
interest, e.g. naming clarification.
2022-10-19 16:10:39 +02:00
Marcin Zieliński
0276dedc6f [MOS-753] SIM reinsertion case in SIM Settings
Handling the case when the user during PIN changing
or turning the PIN on/off puts the SIM tray out and
shortly after back in. In such a case, the Settings
application now goes to the 'SIM cards' window
instead of 'PIN settings'.
2022-10-04 10:05:23 +02:00
Marcin Zieliński
4cefb5f114 [MOS-640] Change windows flow in SIM settings
Made SIM cards settings windows switching more robust
2022-10-03 13:29:12 +02:00
Lefucjusz
178c28b7bb [MOS-666] Fix disappearing setting bars in German
Fix of the issue that with German language
selected manual volume setting bar and
vibration volume setting bar would
disappear when focused.
2022-09-19 10:59:05 +02:00
Adam Wulkiewicz
a8fd5d25ec [MOS-691] Fix memory leaks in APN settings
Replace objects created on heap with class members.
2022-09-06 10:57:08 +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
Marcin Zieliński
87bd36c846 [MOS-649] Rename confusing method
Rename confusing method
2022-08-04 14:39:54 +02:00
Lefucjusz
3c1067cd87 [MOS-421] Add state refresh when BT automatically turns off
Added code to update BT power state
when it automatically turns off due
to inactivity.
2022-08-01 17:22:45 +02:00
Adam Wulkiewicz
798c7e8776 [MOS-601] Disable debug timer in DisplayLightWindow
The timer is responsible for refreshing debug options which interferes
with navigation strings of other windows until it is stopped when window
is destroyed.
2022-07-26 12:17:52 +02:00
Lefucjusz
919ecb9f2f [MOS-421] Fix BT state first rendering off
Fix of the issue that after entering
bluetooth settings power state is shown
as off at first, even though bluetooth
is turned on.
2022-07-25 12:56:58 +02:00
Adam Wulkiewicz
6404e0983f [MOS-586] Crash of simulator in Settings->Phone Modes
Fix out of bounds memory access when selected phone mode is
Uninitialized
2022-07-12 13:21:33 +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
50c9342432 [MOS-494] PIN settings infinite loop fix
Fix of the bug that after selecting SIM slot
in which there's no card and trying to
enter PIN settings menu phone was getting
stuck in infinite looping between
PIN settings window and 'Cannot connect
to SIM card' popup.
2022-06-01 14:00:58 +02:00
Lefucjusz
a5f621bc83 [MOS-487] Added call events state machine
Added tests and calls substate
bluetooth sm diagram created
All old bluetooth tests reviewed and updated
removed new - with queue it's not required
removed TODO
Co-authored-by: Bartosz Cichocki <sp2fet@gmail.com>
2022-05-26 16:19:02 +02:00
Adam Dobrowolski
2664e8ccec [MOS-487] Move switch case to sm
massive switch case removed
added logger
moved state machine implementation
added double dispatch
2022-05-26 16:19:02 +02:00
Adam Dobrowolski
cc02ffffbb [MOS-258] System profile util works with separate rtt
Profiling Move RTT handling to interfacing library
Library for msgpack sink
magic enum updated
performance monitor fixups
2022-04-07 11:32:49 +02:00