Commit Graph

107 Commits

Author SHA1 Message Date
Przemyslaw Brudny
017e3d88dc [EGD-5711] Finalized onBoarding application
Finalized onBoarding application. Added no sim ready window
and sim response window. Created iceBox widget. Fixed various
onBoarding errors and misalignment.
2021-06-01 20:27:52 +02:00
Michał Kamoń
ce0cb23abd [EGD-6794] Fix display light settings
This commit provides the flowing fixes in display light functionality:
 - Settings-path bug causing lack of display light settings on "fresh"
 image. Solved with proper paths definition
 - Invalid settings after phone restart. Solved with proper handling
 of enums and booleans on the Event manager side.
 - No turning off light just after turning on light functionality with
 manual brightness setting in ApplicationSettings bug (required
 another key press to start timer that turns off the light after 5s).
 Solved by starting timer explicitly on Action::turnOn
 - No turning off light just after turning on the phone bug (required
 --as above --). Solved by starting timer explicitly on `Settings
 ValueChange` callback with Action::turnOn.
 - No autoMode until user entered `AppSettings::DisplayLight` Window.
 Bug caused by curve parameters being provided by the window rather
 than on the functionality back-end initialization.

 Commit also provides some code cleanup
2021-05-31 10:43:26 +02:00
Wiktor S. Ovalle Correa
c1bb6c1bae [EGD-6746] Expose new Message types system-wide
Allow all modules to access Request/Notification Message send templates.
2021-05-27 16:32:47 +02:00
Przemyslaw Brudny
bc737e93f6 [EGD-5885] Added SimLockHandler
Refactored LockWindow TitleBar handling. Added Sim pin request
block on lockedPhone. Added Sim info popup added when pin
changed. Updated assets. Removed old PinLock structures.
Cleared LockBox structures. Removed old settings sim setters.
New CellularMessage adaptation. Cleared Lock structure.
2021-05-26 20:09:33 +02:00
Michał Kamoń
0f3fb7c152 [EGD-6736] Add app's state dependent autoLock mechanism
This PR provides the implementation of the auto-locking mechanism that
is dependent on an application's current auto-locking policy. Three
auto-lock policies have been introduced:

* DetermineByWindow
* DetermineByAppState
* PreventPermanently

Also changed the AutoLockWindow set/get auto-lock time value to the
message-based approach.
2021-05-26 08:31:33 +02:00
Bartosz Cichocki
52d5a35c1b [EGD-6447] Add Bluetooth PIN pairing
Implemented legacy pairing using PIN code
2021-05-25 16:12:01 +02:00
Borys Jelenski
c96186264c [EGD-6737] Fix light curve for auto FL brightness
Light curve for automatic frontlight brightness adjustment
changed to decrease brightness with increasing
ambient lighting luminescence.
2021-05-20 22:27:20 +02:00
Wiktor S. Ovalle Correa
b2ca227fd5 [EGD-6746] Use new SimCard implementation
Switch to SimCard implementation provided by previous commit
2021-05-20 17:52:48 +02:00
Marek Niepieklo
2e6899a492 [CP-2] I don't want to see data from Pure in Center when Pure is locked
[CP-48] Re-enabled USB security
[CP-49] Update test harness with usb security
2021-05-18 15:46:17 +02:00
Wojtek Rzepecki
f6713c5e46 [EGD-6742] Add autolock window settings
Add connection to settings of autolock
window contents
2021-05-18 14:05:55 +02:00
Adam Dobrowolski
b38adceced [EGD-6019] Minimum settings ownership lifetime fixups
added weakptr link to settings and checks
    it wont crash on deinitialized setings now
Pseuto UT are passing
Added:
    - deregistration on Settings destrution
    - weak referencing of Service to not crash Settings on missuse
    - Proxy as initialization parameter to Settings
Unused code removed
Enabled tests to be written for Settings
Removed dependency from freertos in test global file
EntryPath tests updated and compilation slimed
2021-05-18 13:25:54 +02:00
Przemyslaw Brudny
bcdaf15ed1 [EGD-6740] Availability and Change handled by PhoneLockHandler
Availability and Change in phoneLock handled by
PhoneLockHandler. Removed old implementation from
onBoarding and Settings. Cleared language assets.
2021-05-14 13:07:49 +02:00
Jakub Pyszczak
b823992837 [EGD-6655] Screen light when active
Added enabling screen light if there was any key pressed
and screen light controler is in the automatic mode.
Added screen light disabling after 5 seconds of timeout
without any key being pressed.
2021-05-14 11:42:43 +02:00
Przemysław Brudny
e71a044bd3 [EGD-6019] Revert of two commits
This reverts commit b6416b15da.
This reverts commit e2f3882d8a.
2021-05-14 09:54:36 +02:00
Adam Dobrowolski
b6416b15da [EGD-6019] Minimum settings ownership lifetime fixups
added weakptr link to settings and checks
    it wont crash on deinitialized setings now
Pseuto UT are passing
Added:
    - deregistration on Settings destrution
    - weak referencing of Service to not crash Settings on missuse
    - Proxy as initialization parameter to Settings
Unused code removed
Enabled tests to be written for Settings
2021-05-13 18:22:44 +02:00
Przemyslaw Brudny
6f34f435a2 [EGD-6696] Fixed settings network window rebuilding on sim selection
Fixed settings network window rebuilding on sim
selection.
2021-05-06 16:15:58 +02:00
Tomasz Sobkowiak
434df6d8b8 [EGD-6520] Show factory data on technical information window
Remove mocked data and read real data from settings db
2021-05-04 14:41:41 +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
Przemyslaw Brudny
182f694ac2 [EGD-6637] Cleanup locks structure
Renaming existing locks namespace and created proper directory
structure.
2021-04-27 16:19:02 +02:00
Pawel Olejniczak
fe1c652ed6 [EGD-6064] Add connecting and pairing bluetooth states
Pairing and connecting states are now visualized
in All devices window to inform phone user what is happening.
2021-04-26 16:58:46 +02:00
Tomasz Krosnowski
64b4849d20 [EGD-6452] Sound selection GUI
Sound selection GUI used to change ringtone, message sound and
notification sound in settings.
2021-04-21 18:00:58 +02:00
Kuba Kleczkowski
9fe5815a65 [EGD-6301] Add Connecting to the network in intervals
It implements mode Offline Messages only - connecting to
the GSM network in defined by user intervals and rejecting
incomig calls during connected phase. It also implements
handling of connetion interval setiing and small fix in modes
popup.
2021-04-21 14:18:25 +02:00
Mateusz Grzegorzek
1f9f429b0b [EGD-5773] Device becomes not responsive when opening settings
Use asynchronous communication with service cellular
to obtain own number.
2021-04-21 13:20: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
Wiktor S. Ovalle Correa
55c41de597 [EGD-6575] Rename Unicast with timeout as UnicastSync
Using Unicast with timeout is dangerous and strongly discouraged.
This change allows for more precise tracking of such cases.
2021-04-20 09:57:58 +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
Mateusz Grzegorzek
39be35722d [EGD-6505] Implement “On when active” Keypad light functionality
Implement “On when active” Keypad light functionality
2021-04-15 14:05:49 +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
tomaszkrosnowski
48d31b876c [EGD-6311] Audio settings windows
Added windows for phone call, messages, calendar and alarm clock
vibration and audio settings.
2021-04-08 02:13:24 +02:00
Pawel Olejniczak
4b35b13fe9 [EGD-4734] Add PIN settings window
This window displays switch button for
disabling/enabling pin code for sim card.
Its also starting point for changing pin code.
Added actions for enabling and disabling
pin code for sim card.
Added method for checking if pin code is
set for sim card.
2021-04-07 19:09:20 +02:00
Pawel.Paprocki
e841f9af0c [EGD-6351] Add Factory reset window
Add Factory reset window to Settings
2021-04-01 09:53:35 +02:00
Pawel Olejniczak
d3ce5086f0 [EGD-6268] Add SAR info window
Window contains detailed information about SAR and certification.
2021-03-25 23:17:05 +01:00
lblach
3afcbd8f94 [EGD-6267] Create Technical Information Window
Add Technical Information Window to display tech info on Pure.
2021-03-25 16:44:10 +01:00
lblach
738c115935 [EGD-6266] Create Certification Window
Add Certification Window to display certification information.
2021-03-25 13:01:01 +01:00
Mateusz Grzegorzek
5b0f2aa44a [EGD-6262] Refactor Quotes
- Connect QuotesMainWindow to work with agent,
- Use DatabaseModel in Quotes and Categories models,
- Connect add/edit/remove quotes with agent
2021-03-25 09:17:53 +01:00
Wojtek Cichon
8a040a5ed7 [EGD-6280] Further changes to Pure menu wording
Fixed 'Advanced' title.
2021-03-24 15:24:49 +01:00
Pawel.Paprocki
86e8369781 [EGD-6263] Add automatic linear brightness
Linear automatic backlight controller - part1
2021-03-24 14:47:48 +01:00
lblach
d94fa3e533 [EGD-6264] About Your Pure Main Window
Add window About Your Pure to help display Technical Information,
Certification and SAR.
2021-03-23 17:00:54 +01:00
Mateusz Grzegorzek
f28d8cf936 [EGD-6193] Connect Categories window with agent
Connect Categories window with agent
2021-03-22 17:49:28 +01:00
Pawel Olejniczak
1fb38b3c33 [EGD-6144] Fix bluetooth settings window after changing phone visibility
Bluetooth settings window was displayed incorrectly after
changing phone visibility.
2021-03-12 13:40:48 +01:00
RobertPiet
39e6f1b18a [EGD-5902] Phone Modes Windows
Windows for phone modes created.
Offline:FightMode/messages only ServiceCellularApi created.
ConnectionFrequency and DND options settings throught AppSettings.
2021-03-11 17:38:44 +01:00
lblach
ded0ff6c8c [EGD-5933] Display Category Selection Window
This window is needed to assist the user selecting the quotes
categories to display.
2021-03-11 14:35:56 +01:00
lblach
c7ce843b7b [EGD-5936] Add Edit Quotes Window
This window is needed by the user to assist the user in editing quotes
or/and selecting the quotes categories to display.
2021-03-11 11:41:28 +01:00
Pawel Olejniczak
796bab6b12 [EGD-6074] Add system message and window for BT initialization error
Purpose of added system message is to sent information about bluetooth
initialization result from bluetooth service to application settings.
Added window will print error if initialization fails.
Further integration in service bluetooth is required.
2021-03-10 17:22:59 +01:00
Pawel Olejniczak
72ac24f2e8 [EGD-6073] Fix text formatting in retry windows
Error message in retry windows was displayed incorrectly.
2021-03-10 15:23:15 +01:00
Pawel Olejniczak
77faaaec7f [EGD-6024] Return to All Devices window after attempt to retry action
Execution of retry pairing/unpairing/connecting took too long
to wait for it on retry popup. Fixed minor bugs.
2021-03-05 09:57:46 +01:00