Commit Graph

158 Commits

Author SHA1 Message Date
Lefucjusz
b30212bede [MOS-896] Update low battery screen view
Updated low battery screen view by adding
info windows appearing when trying to
interact with phone having critical
charge level.
2023-11-02 12:19:39 +01: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
d403db4101 [MOS-1027] Fix lack of tethering icon on 'Tethering is on' popup
Fix of the issue that pressing menu button while
in tethering resulted in LTE and no signal icons
appear on status bar instead of tethering icon.
2023-08-30 11:13:54 +02:00
Dawid Wojtas
14046eb189 [BH-1745] Fix a deep press crash during popups
Rewrite the popups filter to remove unnecessary popups.
Remove callbacks from activate and deactivate popups
which cause problems when the popups was on the stack.
2023-08-07 15:22:00 +02:00
Kuba Kleczkowski
f94d7f6367 [MOS-636] Added MMI/USSD confirmation
USSD/MMI codes are now confirmed after they are sended.
2023-04-03 16:28:27 +02:00
Adam Wulkiewicz
0e7ae160e6 [BH-1639] Add welcome message with charging info
Add new bell welcome window
Add new close reasons
Add new actions
Bump assets version
Remove bold text from welcome message
Remove bold text from onboarding popups
2023-03-06 14:11:04 +01:00
Bartosz
01857dd1bd [MOS-786] Added support for A/B boot codes in OS
Further implementation of A/B booting
2023-01-19 16:41:56 +01:00
Maciej Janicki
5dc42c2be6 [MOS-296] Merge new master commits into merge-stable-wip
Merge new master commits
2022-03-09 19:32:59 +01:00
Maciej Janicki
2b2bb13a49 [MOS-296] Merge remote-tracking branch 'origin/stable'
Merge stable Harmony branch into merge wip branch
2022-03-09 19:27:50 +01:00
Przemyslaw Brudny
ad3aa54b66 [MOS-123] Added bluetooth authentication popups
Added bluetooth authentication popups with different
pair methods and process info display.
2022-03-03 20:37:16 +01:00
Paweł Joński
2b55d22b28 [BH-1385] Low battery screen on exit
Rework last render before shutdown to avoid races
Display low battery screen on exit
2022-02-15 09:15:27 +01:00
Adam Dobrowolski
36fe4530fb [EGD-8101] Assert that proper global state will be set
blocking popup is dependent of application global variable.
setting it in right scope.
2022-01-11 13:14:21 +01:00
Adam Dobrowolski
59b48a3b04 [EGD-8101] Removed not sent action requestf for battery charging
There was no change of UI as notification was never shown due to
the UI race condition. Race on UI is removed with removal of UI check
2022-01-11 13:14:21 +01:00
Wojciech Rzepecki
ee04dd4aaf [EGD-8095] Add quote on wallpaper
Quote from database will be shown on wallpaper
if proper setting is selected.
2022-01-11 11:45:40 +01:00
Adam Dobrowolski
0ec9428917 [EGD-7773] Popups stack poc
Stack plus minimum tests added
Updated to master
Removed useless or adressed TODOS
Constants name applied
Renamed searchModel to searchRequestModel
Review applied
We should remove legacy window names
Bell names fixes
2022-01-04 13:01:23 +01:00
Przemyslaw Brudny
dfafd1fb5f [EGD-7987] Closing window refactor
Closing window refactor.
2021-11-22 11:05:44 +01:00
Wojtek Rzepecki
7afd68ac76 [EGD-7852] Fix batteryr screens switch
fix of switch from dead/charging battery screens
2021-10-25 16:36:38 +02:00
Kuba
6e12e5834f [EGD-7738] Fix modem reset
Fixed modem reset procedur so now it will not stuck in cellular
init on factory fresh phone. Also removed T3/T4 board recognition.
2021-10-21 18:45:43 +02:00
Przemyslaw Brudny
3b84af2746 [EGD-7631] PhoneLock timer system time independence refactor
Refactored PhoneLock to be independent of system time.
Refactored refresh options for notification receive on
Windows.
2021-09-30 17:01:53 +03:00
Marcin Smoczyński
57874cab33 [BH-912] Improve sys module structure
Improve structure of the module sys. Problems within this module
prevents from linking others.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-24 10:01:19 +02:00
Wojtek Rzepecki
1e8082e02c [EGD-7570] Add Alarm Clock status bar indicator
Added indicator on status bar if any alarm is on
2021-09-23 13:15:02 +02:00
Wojtek Rzepecki
4c19fa16b3 [EGD-7612] Add alarm popup
Added alarm popup window. Added ImageBoxWithText
widget.
2021-09-22 15:51:17 +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
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
Piotr Tański
0079bc9695 [EGD-7238] Fixed applications deinit handers
All apps deinit handlers should call the base function.
2021-09-09 12:51:22 +02:00
Piotr Tański
90e7a48198 [EGD-7362] Merge release/0.76.1 into master
Merge release/0.76.1 into master.
2021-09-02 11:12:59 +02:00
Mateusz Grzegorzek
ed68fc92ec [BH-754] Split ServiceDB
- rename ServiceDB to ServiceDBCommon,
- create separate ServiceDB for Pure and Bell,
- move Pure-specific functionality
from `ServiceDBCommon` to Pure `ServiceDB`
2021-08-20 10:47:29 +02:00
Marek Niepieklo
bd06eacbda [CP-403] Replace old update code
Removed update related code
Removed update test scripts
2021-08-05 17:11:24 +02:00
DariuszSabala
4201fcaea6 [BH-384] Turned application desktop to library
Defined separated cmake library, private and public include
directories and dependencies, isolated public headers from private,
cleaned up include paths and defined which targets depend on new
library, cleaned up include paths
2021-07-14 17:07:50 +02:00
Paweł Joński
a7fba1b343 [BH-374] Librarize application-antenna
Add apps-common, librarize application-antenna
2021-06-17 12:54:02 +02:00
Wiktor S. Ovalle Correa
eb026fe8b0 [EGD-6907] Introduce ModemState in Cellular
We should not use Cellular's internal states to drive
other system parts, especially applications
2021-06-08 18:42:37 +02:00
Przemyslaw Brudny
b7e710ef9e [EGD-6867] Renamed TopBar into StatusBar
Renamed TopBar into StatusBar.
2021-06-04 12:24:30 +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
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
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
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
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
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
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
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
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
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
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
Przemyslaw Brudny
1abd6b18e2 [EGD-6641] Added Notifications to LockedPhone popup
Added NotificationsModel to LockedPhone popup window.
2021-04-29 18:21:50 +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