Commit Graph

49 Commits

Author SHA1 Message Date
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
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
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
Maciej Gibowicz
1bff91d0a1 [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 on another screen.
2024-02-21 12:16:02 +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
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
rrandomsky
5b06da46a6 [MOS-948] Fix for tethering popup was losing user unsaved data
Fixed data loss when creating or editing a note/contact after connecting
the USB cable and selecting the option to enable tetering in the popup window
that appears. Now, when the user wants to enable tethering, they will be asked
if they want to exit without saving.
2023-09-11 13:02:20 +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
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
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
rrandomsky
ace3f5e6ce [MOS-973] Fix for a ghost call after quick click back key to end a call
Fixed a scenario where the user click to make a call to some contact and
then quickly click BACK (right function button) to end the call and despite
that Pure was still calling without showing any information.
This fix prevent to handle key press event as a key longpress even after
application lose a focus, or change a state.
2023-05-25 13:25:25 +02:00
rrandomsky
c96dc7dc30 [MOS-686] Fixed MTP availability only after phone unlocked
Fixed file access via MTP even when phone is not unlocked.
Now access is granted when the phone is unlocked by the user entering
a passcode. If the phone is not passcode protected (passcode is nor set)
then access to the files is always possible via MTP.
2023-05-18 15:57:09 +02:00
Bartosz
1f157e411d [MOS-59] Fix weird behaviour of indicators on popups
Fixed phone mode indicators on popups
2023-02-16 10:16:17 +01:00
Lefucjusz
7d396efc30 [MOS-204] Fix screen ghosting after emoji selection
Fix of the issue of screen ghosting after
emoji selection, visible particularly well
in messages app - changed fast refresh
to deep one on returning from emoji selection
screen to the previous application.

Additionally minor code cleanup.
2023-02-06 16:41:07 +01:00
Bartosz
4e844b64cc [MOS-59] Always display network technology and signal strength
Now those parameters are always on the statusbar
2023-01-26 13:29:27 +01:00
Maciej-Mudita
1f9c6b4a51 [MOS-26] Add tethering info on status bar
When tethering is on, info appears in the status bar
and network coverage indicates "no connection"
2022-10-20 08:56:51 +02: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
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
Marcin Zieliński
acf52678b8 [MOS-731] Windows switching log clear in meaning
The log is now self-explanatory.
2022-09-19 11:09:56 +02:00
Marcin Zieliński
a24fa1723a [MOS-350] Fix some SIM card pop-ups not showing
Also: enhanced a log, improved the English translations.
2022-09-15 12:24:24 +02:00
Marcin Zieliński
90ed595397 [MOS-718] Fix part of SIM unlocking
Fixed a potential bug in message handling,
refactored unclear naming and logic there
and in some other places.
2022-09-13 12:37:24 +02:00
Dawid Wojtas
8cc5960ed6 [MOS-499] Improve lock screen power consumption
Power on the e-ink only when it is needed e.g. fast or deep
refresh. Update battery percentage only when discharging.
2022-07-28 11:55:51 +02:00
Onufry Pajaczek
3043c063ec [BH-1515] Bedtime reminder notification issue
AbstractAlarmAction execute method takes Record as paremeter to pass it
to action
Bedtime abstraction extended to keep own EvetContainer and hadle needed
actions(push,clear ... and so on)

Fixed an issue where cpp file was added by #include directive
New fuction added to test/CMakeLists.txt to
add manually prepared target to test siute
googletest-service-time-alarm-operations source moved to library and
than linked in to googletest-service-time-bell-alarm-operations
2022-07-22 13:40:48 +02:00
Lefucjusz
ab02490917 [MOS-559] Fix phone unlock after mode change
Correction of the previous fix addressing this issue.
Previous idea didn't work when popup tried to
display in application other than ApplicationDesktop
2022-06-30 13:31:18 +02:00
Lefucjusz
5f9df4cd24 [MOS-559] Fix unlock when phone started not in Connected mode
Fix of the issue that when phone was started in
mode different than Connected, next mode changed
resulted in bypassing of the lock.
2022-06-27 13:37:36 +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
e221fe9218 [MOS-473] Long time to refresh network coverage fix
Fix of the issue that after the system has started
the network coverage wasn't updated for a long time
on the lock screen
2022-05-25 09:35:40 +02:00
Lefucjusz
c0f5243b3f [MOS-402] Time legibility on lock screen fix
Fix of the issue that time on the lock screen was
getting illegible after a few hours. This change
fixes the problem by performing deep refresh
instead of fast refresh every 30 minutes. The
refresh rate can be easily changed, as it is stored
in settings database.
2022-05-06 11:17:27 +02:00
Mateusz Piesta
97e9d7b79f [BH-1449] Fix gui/eink dependencies
* Dependencies between service-gui and service-eink
have been correctly defined.
* System close routine was replaced with the sequential one
which should solve many bell issues.
* It also fixes BH-1406 and BH-1442.
* Fixed some weird CMake issues in module-audio and
several other modules.
* Fixed service-gui closing routine
* Removed unneeded messages/states from service-gui/eink.
* Enhanced app-mgr closing routine. Fixed closing action handling.
2022-04-26 13:47:12 +02:00
Maciej Janicki
24eff591b8 [MOS-296] Merge fix popup stack issues
Fix popup stack issues with Harmony
2022-03-09 19:40:48 +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
304fb2c844 [MOS-111] Added missing refresh conditions
Added missing refresh conditions.
2022-02-22 12:49:27 +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
Przemyslaw Brudny
b1fa634e6a [MOS-111] Battery status bar update restrictions
Battery status bar update restrictions.
2022-02-10 13:04:29 +01:00
Adam Dobrowolski
7897f86380 [EGD-8164] Multiple same popups can be stored
On initial code there was option to store only one popup of set
priority, now we can store multiple ones
2022-01-20 08:35:37 +01:00
Przemyslaw Brudny
85cf420b8d [EGD-8080] Added 4 hour deep refresh on locked screen
Added 4 hour deep refresh on locked screen.
2022-01-12 10:41:06 +01:00
Adam Dobrowolski
0c42628211 [EGD-7773] Post review code cleanup
as in status
2022-01-04 13:01:23 +01:00
Bartosz Cichocki
a9fba040be [EGD-7773] Add popup drop possibility
Added popup drop possibility with custom callback onPop to comply
with Bell requirements
2022-01-04 13:01:23 +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
376bbf3df7 [EGD-7922] Added InputEvents Debug option
Added Debug flag for InputEvents in EvtManager and Application.
2021-12-06 15:39:10 +01:00
Wojciech Rzepecki
dbb7b27c46 [BH-955] Fix onClose when popup displayed
no action on onClose when switched to popup window
2021-11-19 17:03:00 +01:00
Maciej Janicki
d0d847130d [BH-1140] Split statuses updates
Split statuses updates
2021-11-18 17:11:35 +01: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
Adam Dobrowolski
ca38dff5fc [EGD-7635] Alarm triggers popup
Added action from service backend integrated with alarm UI and  MVP
2021-09-24 08:49:42 +02:00
Marcin Smoczyński
bd90e57516 [BH-907] Split utils module into components
Split module-utils into smaller components for better dependency
management. Fix many dependencies throughout the project.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-23 15:14:40 +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
Marcin Smoczyński
958ce4906c [BH-897] Split module-sys
Split system module to better manage dependencies between system
components.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-21 16:11:59 +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