Commit Graph

1383 Commits

Author SHA1 Message Date
Wiktor S. Ovalle Correa
43e8b862ac [EGD-6896] Sanitize Tray event handling
Tray events were handled inconsistently with its Message used
in a separate context
2021-06-04 09:38:44 +02:00
Przemyslaw Brudny
bea44d5da5 [EGD-6886] Fixed onBoarding Main Window and NoSim popup
Fixed wrong onBoardingMain Window handling and increased
noSim detected popup timeout.
2021-06-02 11:43:58 +02:00
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
Kuba
1429d4f07e [EGD-6698] Add setting time from Settings
Added setting time from Change Date and Time window. Change
request is handled by service-time.
2021-06-01 18:14:22 +02:00
Wojtek Rzepecki
56a17e7814 [EGD-6854] Add missing tethering windows
Added missing windows for tethering
based on UI design
2021-06-01 15:25:30 +02:00
Michał Kamoń
4fb5a38fa2 [EGD-6397] Add no autolock on OSUpdate
This commit enables `preventsAutoLock` in `UpdateProgress` window
to ensure that no autolock event occurs while OSUpdate is in progress.
2021-06-01 15:00:54 +02:00
Michał Kamoń
8078dd240b [EGD-6855] Add no modem notification on tethering
This commit provides the implementation of functionality that blocks
sms/calls notifications on home screen when tethering is active.
Previously, the notifications could be visible if the notifications
were visible prior to tethering activation.

By the design, the functionality should not clear the notifications,
just temporary hide them. That is achieved by implementation ot the
functionality in NotificationModel which is an UI presenter.
2021-06-01 14:25:32 +02:00
Lucjan Bryndza
325f8696b8 [EGD-6835] Fix UT link errors with inotify
Fix UT linkage error when trying to link with
libiosyscalls with inotify mechanism

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2021-06-01 13:06:38 +02:00
Borys Jelenski
8d511a4712 [EGD-6704] Fix incorrectly displayed time in "Date and time" window
Time was incorrectly displayed when opening the "Change date and time"
window due to invalid string conversion. Fixed by using different
string converting function which does not use printf underneath.
2021-05-31 12:43:46 +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
Przemyslaw Brudny
145178ae26 [EGD-6791] Added PhoneUnlock on external MuditaCenter message
Added PhoneUnlock on external MuditaCenter message.
2021-05-28 17:46:03 +02:00
Pawel.Paprocki
b969442853 [BH-365] Move TPLIB (tinyexpr) to separate directory
Move library, amend CMAKE files
2021-05-28 13:05:32 +02:00
Alek Rudnik
93c4675d1d [EGD-6701] System time usage fixes
Fixed all calls to stdlib time.
Removed all redundant calls to Timestamp treated as time source.
2021-05-27 16:54:44 +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
Tomasz Sobkowiak
1648ea44a3 [EGD-6803] Scroll list to selected sound
When display message/alarm/ringtone sound scroll list to selected sound.
2021-05-27 11:31:00 +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
Mateusz Grzegorzek
798a2fb45a [BH-361] Move date to separate directory
Move date to separate directory
2021-05-25 10:21:46 +02:00
Pawel.Paprocki
040550f3b7 [BH-356] Move TPLIB (microtar) to separate directory
Move microtar to lib, amend CMAKE files
2021-05-24 09:44:29 +02:00
Borys Jelenski
cbbd94719d [EGD-6605] Fix RTC time not retained between resets if set manually
When setting datetime from timestamp (manually, not from network),
SRTC is set in order to retain the RTC datetime between resets.

RTC handling was refactored in order to get rid of unnecesary
conversions and third-party code mixed with proprietary code
within a single file.
2021-05-24 04:54:02 +02:00
DariuszSabala
339f3d52fa [BH-364] Move TPLIB magic_enum to separate dir
Changed submodule directory and updated cmake scripts and include paths
2021-05-21 11:12:20 +02:00
tomaszkrosnowski
dcd0ebe0a1 [EGD-6338] Fix NAT widget visibility
Make sure that NAT (Network Access Technology) widget is visible on top
bar ONLY during call.
2021-05-21 01:27:54 +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
Przemyslaw Brudny
0a322b878c [EGD-6770] ListView onPageElement rebuild page jump added
ListView onPageElement rebuild page jump added.
2021-05-20 16:59:14 +02:00
Przemyslaw Brudny
3c69244f4d [EGD-6773] Added light BarGraph type and updated UpdateProgress
Added light BarGraph type and updated UpdateProgress Window.
2021-05-19 11:21:55 +02:00
Michał Kamoń
48f7cf171d [EGD-6755] Add updated notification icons
This PR adds/updates notification icons to latest version provided
by designs.

Also this PR provides new implementation for CallLogDetailsWindow.
The window was using one of the icons updated. To avoid making
temporary corrections on the icon's hardcoded (x,y,w,h) properties,
the entire window was redesign to use up-to-date ModuitaOS GUI
features.
2021-05-19 08:10:49 +02:00
Przemyslaw Brudny
2e2ce205d7 [EGD-5404] Added onBoarding Sim select window
Added onBoarding Sim select window and skip sim select.
Removed old PhoneLock settings selector from settings.
2021-05-18 23:05:30 +02:00
Michał Kamoń
f2ce6e946b [EGD-6707] Add single number message notification
This PR provides implementation of home screen notification for
`notSeen` messages received from a single number. The "single-number:
`notSeen` message notification distinct from "multiple-number"
notification with the following features:
 - displaying formatted contact name
 - `onActivated` it switches to respective thread window (instead of
 all thread window) in `ApplicationMessages`

 The PR also introduced some `ActiveNotificationsModel` code refactor
 to align the implementation with `Single Responsibility Principle`
2021-05-18 17:19:30 +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
Pawel.Paprocki
db8c1d35e5 [EGD-6739] Fix Enable change of display resolution on simulator
Define screen dimesions in one place
2021-05-14 08:50:11 +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
Radoslaw Wicik
80dc483c5d [BH-422] Fix CMake in service GUI - post review update 01
Update after review.
2021-05-13 13:51:08 +02:00
Radoslaw Wicik
8b24846b92 [BH-422] Fix CMake in service GUI
Refactor CMakeLists.txt for cleaner and simpler code.
2021-05-13 13:51:08 +02:00
Przemyslaw Brudny
97777d0b23 [EGD-6729] ServiceDesktop plug off lock interactions fix
ServiceDesktop plug off lock interactions fix.
2021-05-10 15:47:20 +02:00
Piotr Tański
1bcc27dfe7 [EGD-6638] SOS call windows flow fixed
On going back, it returns to the correct window.
2021-05-10 09:03:23 +02:00
Alek Rudnik
457e9b4fc8 [EGD-3542] Fix issue with sending text messages form new message window
Fixed too short timeout for sending sms
Fixed flow for switching to thred window to asynchornous one
Fixed some minor issues connected to new sms error handling
2021-05-07 16:24:27 +02:00
Michał Kamoń
0bad6d643b [EGD-6657] ApplicationDesktop clean-up
This PR cleans-up `ApplicationDesktop` after recent changes in
home screen notifications handling.
2021-05-07 15:41:14 +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
Michał Kamoń
46c57aaa88 [EGD-6599] Add single number call notification
This PR adds proper notification on call notifications coming from
single number. To that end following changes have been introduced:
 * extension of Notification DB record with contact_id filed
 * use of `ContactRecordInterface` in `NotificationsRecordInterface`
 * extension of `Increment` query to require `PhoneNumber::View`
 * multiple minor changes on path from creating/handling
 `NotificationsRecord` to displaying respective notification.
2021-05-06 14:39:53 +02:00
Przemyslaw Brudny
5913999d23 [EGD-6683] Fixed not fitting labels in Calls and Meditation
Fixed not fitting labels in Calls and Meditation.
2021-05-05 18:39:25 +02:00
Adam Dobrowolski
56344b0579 [EGD-6680] Notes crash fix on search
Changed query for all matches to query with limit
2021-05-05 18:13:35 +02:00
Michał Kamoń
3fb5b81ef2 [EGD-6602] Add documentation for home notifications
Documentation providers class structure diagrams for realization of
MVP pattern in context of home screen notifications.
2021-05-05 15:16:30 +02:00
Przemyslaw Brudny
9a17c5fc3c [EGD-6676] PhoneLock handling with ServiceDesktop
Replaced old PhoneLock handler in ServiceDesktop with new
interactions with Application Manager PhoneLockHandler.
2021-05-05 13:55:14 +02:00