Commit Graph

157 Commits

Author SHA1 Message Date
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
Piotr Tański
3f29c30bed [EGD-4968] Change GUI service to optimize flow and memory management
Gui and Eink services refactor.
Displaying frames performance optimization.
Critical resources management.
2021-01-08 16:36:12 +01:00
Mateusz Grzywacz
262127229f battery renames, clean up, degreasing 2021-01-04 13:14:30 +01:00
Mateusz Grzywacz
3b08e4c358 [EGD-4932] new battery icons + battery in TopBar rework 2021-01-04 13:14:30 +01:00
Wojtek Rzepecki
24e2607f6b [EGD-4727] Change Torch hardware control
Change way of button usage
2020-12-22 13:27:33 +01:00
RobertPiet
675dc59c9a [EGD-3572] SettingsTable exchanged to settings::Settings (#968) (#1044)
[EGD-3572] Application has an instance of Settings - removed from derived apps
[EGD-3572] Application is the owner of Settings handling for its windows/widgets
[EGD-3572] Settings header moved to service-db public section
2020-11-27 15:38:19 +01:00
Piotr Tanski
506f5615ce [EGD-4373] Fix for the unexpected call to onClose() method. (#1048) 2020-11-23 09:56:48 +01:00
Piotr Tanski
0a0366bb74 [EGD-4267] Don't clean application windows if the application switch is not yet confirmed. (#1040) 2020-11-19 09:21:54 +01:00
RobertPiet
c25ad79421 Revert "[EGD-3572] SettingsTable exchanged to Settings::Settings (#968)" (#1035)
This reverts commit f11bc1f0d0.

Co-authored-by: Hubert Chrzaniuk <hubert.chrzaniuk@mudita.com>
2020-11-18 12:17:08 +01:00
RobertPiet
f11bc1f0d0 [EGD-3572] SettingsTable exchanged to Settings::Settings (#968)
[EGD-3572] Application has an instance of Settings - removed from derived apps
[EGD-3572] review issues resolved
[EGD-3572] shared_ptr -> unique_ptr
[EGD-3572] Primary Key for settings_tab:path
[EGD-3572] empty values handling
2020-11-18 10:40:29 +01:00
Radoslaw Wicik
b117704345 [EGD-4219] Convert service-evtmgr and service-lwip to library 2020-11-18 10:09:02 +01:00
PrzeBrudny
701641b87c [EGD-4396] Fixed onClose call at application close. (#1011) 2020-11-16 11:36:53 +01:00
Radoslaw Wicik
998ceac48e [EGD-4217] Convert service-db to library 2020-11-13 12:18:33 +01:00
Radoslaw Wicik
945e39df21 [EGD-4216] Convert service-cellular to library 2020-11-10 13:35:12 +01:00
Radoslaw Wicik
4bdfb00de7 [EGD-4214] Convert service audio to library 2020-11-09 11:56:19 +01:00
Piotr Tanski
22102c4ba5 [EGD-4200] Message handling refactored. (#974) 2020-11-06 15:24:59 +01:00
Radosław Wicik
57f6c267ee [EGD-4213] Convert service-appmgr to library - library (#960) 2020-11-04 15:59:45 +01:00
Piotr Tanski
299be4daf6 [EGD-4151] Application manager actions introduced. (#905)
* [EGD-4151] Application manifest structure defined.
* [EGD-4156] Applications registry and basic action handler implemented.
2020-11-04 10:24:35 +01:00
Adam
8bab7f0031 EGD-3585 ServiceGUI and ServiceEink initial cleanup (#953)
* EGD-3585 SerwiceGUI and ServiceEink initial cleanup

* moved code to one function per message handling
* removed dead code from comments
* added Service.cpp demangling to debug messages for clear output
* added Response value to return messages to `connect()`
2020-11-03 17:27:00 +01:00
Adam
64db7d8327 EDG-3585 Small fixup for refresh & cleanup in buildDrawLists (#916)
* EGD-3585 Minor refresh fixup&  Normalised buildDrawList everywhere
2020-10-30 10:13:47 +01:00
alek
81a62fdb16 [EGD-4158] Added network access technology indicator 2020-10-27 10:13:41 +01:00
Piotr Tanski
dd50838789 [EGD-4051] Based application manager app switching on application stack. (#858)
* [EGD-4051] Based application manager app switching on application stack.

* [EGD-4051] Application manager thorough refactor.
2020-10-23 15:45:58 +02:00
Adam
91e67f4865 EGD-4102 (#871)
* EGD-4102 Added log to refreshed window and null check

* EGD-4102 Fixed messages crash

* EGD-4102 Fixed calendar crash and some funky code
2020-10-23 13:00:39 +02:00