Commit Graph

179 Commits

Author SHA1 Message Date
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
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
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
Artur Śleszyński
71465d8990 [EGD-3119] Hide InputEvent's member fields
Use the InputEvent's convenience methods to express intent.
2021-04-29 08:01:18 +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
Michał Kamoń
eec4370cdc [EGD-5703] Fix SimCard topBar icon on Desktop
In initial design a `TobBar`'s SimCard icon with number is supposed
to display on the home screen only if there are two cards inserted.
Because of the hardware limitations (there is no way of telling if
there is a single or two cards inserted) the established consensus is
that home screen should not display SimCard widget unless it's
indication error state.

Although in the task description there is only home screen mentioned,
the behaviour was established for all `ApplicationDesktop`'s windows.
2021-04-27 08:14:17 +02:00
Michał Kamoń
d0f5f74366 [EGD-6456] ListView based desktop notification
This PR provides following changes in notifications:
- notifications were extracted as widget for pop-up-based
locked-screen implementation
- notifications are ListView based implemented
- the most recent notification is displayed on the top of the list
2021-04-22 15:51:59 +02:00
Jakub Pyszczak
49c132c622 [EGD-6513] Volume control feedback
Added volume control feedback during music playback over Bluetooth.
Changed volume buttons handler logic in service audio to use actions
instead of messages.
2021-04-22 15:30:02 +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
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
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
Piotr Tański
e129299146 [EGD-6486] Fix for settings not avaialble at phone startup
Fixed the comparison function of EntryPath objects.
2021-04-14 13:02:48 +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
Jakub Pyszczak
863d805d24 [EGD-6304] Popup overall fixes
Removed duplicated mode observer from application
that was introduced during the rebase in this commit
1860bf210f.
Fixed mute logic according to the design.
Fixed switching back to the meditation window.
2021-03-24 23:41:30 +01:00
tkros
1860bf210f [EGD-5744] Phone mode status bar widget
Added phone mode widget to top bar. The widget is mutually exclusive
with NAT widget. Phone mode is determined using phone mode observer.
2021-03-23 19:38:57 +01:00
Jakub Pyszczak
a21e02f91e [EGD-5743] Added phone modes popup
Implementation of phone modes window.
Minor fixes of previous approach.
2021-03-23 10:24:56 +01:00
Jakub Pyszczak
db4b41c56e [EGD-5712] Volume popup added
There is need of popup window on volume key
pressed event. This PR handles:
Creating base popup window attached to
application desktop.
Creating volume window.
Audio key events logic implementation.
2021-03-20 10:28:35 +01:00
Piotr Tański
efef7dcf7f [EGD-6111] Timers refactored
Deep refactor of system timers.
2021-03-19 14:09:35 +01:00
Wojtek Rzepecki
e69576aa60 [EGD-6192] Add torch hw control v2
Change behavior of torch
control according to newest
design.
2021-03-18 08:53:19 +01:00
Mateusz Grzegorzek
31b24ed4d3 [EGD-5932] Add more queries to Quotes agent
Added queries:
- list quotes from selected category,
- enable/disable category,
- enable/disable single quote,
- list enabled quotes,

Other fixes:
- move `msgHandled` and `msgNotHandled` to `Message.hpp`,
- use `typeid` in `QuotesAgent::registerMessages`,
- change `Quotes::Queries` style,
- make `quotesList` private

Queries to add in next PR:
- add/read/write quote
2021-03-17 13:55:20 +01:00
Jakub Pyszczak
0e1880a726 [EGD-5624] Added window update
This PR introduces mechanism for passing
data to the currently displayed window by
switch data.
2021-03-12 10:53:56 +01:00
Wojtek Rzepecki
ef63ee267c [EGD-5304] Add new way of system close
Unified method of closing
the system orchestrated by
system manager
2021-03-04 15:55:55 +01:00
Przemyslaw Brudny
84095629df [EGD-5883] Added generic button popups attach to applications
Created structure and implementation for popup windows
attachments on button actions into applications. Moved Volume
window to fit into solution. BarGraph refactored.
2021-03-03 22:21:11 +01:00
Alek Rudnik
7ccc68c202 [EGD-5832] Status bar widgets refactor
Status bar SIM widget refactor
Status bar time widget recfactor
Status bar lock widget refactor
Separation of status bar time widget and desktop main window time widget
Fixed issue with wrong calculation of timezone based time
2021-03-03 13:37:11 +01:00
Piotr Tański
d5c3d41ca4 [EGD-5204] Secure USB communication
Secure all endpoints by returning 403(Forbidden) when USB is connected.
Request screen passcode to enable secured endpoints.
2021-02-24 19:49:07 +01:00
Piotr Tański
4f3366ee80 [EGD-4157] Actions queue added
All actions shall be queued in order to process them later.
2021-02-24 14:52:20 +01:00
Mateusz Grzegorzek
8f0797218f [EGD-5312] Add Time selection window
- add ChangeDateAndTimeWindow,
- extract EventTimeItem to common widgets folder
  and rename it to TimeWidget,
- extract EventDateItem to common widgets folder
  and rename it to DateWidget,
- replace timeWidget with common TimeWidget
  in NightshiftWindow,
- refactor time setting in
  DesktopMainWindow and TopBar,
- Remove dead code from EventManager
  (GetNextAlarmTimestamp and HandleAlarmTrigger)
2021-02-23 15:59:51 +01:00
Adam Dobrowolski
f724d9074b [EGD-5701] Added DOM dump to harness
* Added generic handler to developerMode
* Added DOM message handling
2021-02-18 16:53:07 +01:00
Przemyslaw Brudny
a951f85753 [EGD-5688] Fixed specialInput selection blocking next action
Adding character by specialInput caused next input action
to be blocked.
2021-02-17 17:52:50 +01:00
Wojtek Rzepecki
323786c4d2 [EGD-4797] Battery bar as widget
Battery bar now is present as
a separate widget in top bar.
Additionally refactored passing
battery status.
2021-02-15 13:05:56 +01:00
Piotr Tański
bc4d32c7d8 [EGD-5158] Change access to the bus methods
The bus is now accessible only via Service object.
2021-02-08 16:56:42 +01:00
Mateusz Grzegorzek
d87c69479f [EGD-5311] Create Date&Time main window
- add DateAndTimeSettings class and
  dateAndTimeSettings global var
  (cache for storing date and time related settings),
- add DateAndTimeChangeRequest messages and proper
  methods in app::manager::Controller for sending them,
- handle DateAndTimeChangeRequest messages in ApplicationManager,
- add SettingRightItem::Text case for OptionSettings
  to provide possibility to add text
  on the right side of particular option,
- rename fields in db (settings_tab table):
  gs_time_format_12 to gs_time_format
  and
  gs_time_date_format to gs_date_format
- create only main Date&Time window.
  Sub windows will be added in separate task.
2021-02-03 10:11:56 +01:00
mkamonMdt
ae619d45a8 [EGD-2514] Fix clock does not refresh
There was no refresh trigger that would cause items like clock
to display its up-to-date state while user is being inactive.
This PR solves that issue providing timer-based refresh trigger
that is dependent on user activity.
2021-02-01 11:47:04 +01:00
RobertPiet
9e7920219e [EGD-5519] Lockscreen does not ask for pin after reset solved
Name of parameter for lockscreen mode on/off updated in sql script.
Register on param lockscreen only reacts on value change.
2021-01-29 13:40:01 +01:00
RobertPiet
658b540b3f [EGD-5387] Volte settings change problem solved
Volte settings made global. Merge issue regarding screen lock resolved
2021-01-26 17:55:53 +01:00
RobertPiet
a446a30afe [EGD-4960] lockScreenPasscodeIsOn is a global setting 2021-01-22 10:11:37 +01:00
RobertPiet
fb36efb873 [EGD-4960] Settings Interface added parameter do distinguish global/app settings
[EGD-4960] global/local setting determined by enum value, unregister all variables in one call, ut updated
[EGD-4960] SettingsScope usage in SettingsMessages
2021-01-22 10:11:37 +01:00
Piotr Tański
4c61595a27 [EGD-4801] Add application-wide top bar manager
Applications configure the top bar once for all their windows.
Sometimes, windows need to configure top bars with its configuration.
2021-01-21 10:46:57 +01:00
Przemyslaw Brudny
9645fbc278 [EDG-4717] Add screen for brightness control
Window for manual and automatic screen brightness control.
2021-01-19 12:09:36 +01:00
Mateusz Grzegorzek
8856a65641 [EGD-4995] Add changing passcode windows flow
Implement changing passcode windows flow
2021-01-18 15:12:25 +01:00
Piotr Tański
6c900d7b38 [EGD-5166] Add query-callback synchronization mechanism
Receiver object cancels the callbacks at the end of its lifecycle.
2021-01-13 12:11:56 +01:00