Commit Graph

337 Commits

Author SHA1 Message Date
Lefucjusz
181feb4f40 cleanup 2024-08-20 15:40:34 +02:00
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
Lefucjusz
c6192fd912 [BH-1989][BH-1990] Core functionality of What's New app
Implemented core functionality of What's New
application.
2024-07-10 12:45:46 +02:00
Lefucjusz
794128984b [BH-1992] Fix crash in Meditation and Power Nap
Fix of the issue that Meditation and
Power Nap apps would crash during
active sessions due to bad optional
access introduced in previous time
displaying fix.
2024-05-16 17:12:46 +02:00
Maciej Gibowicz
6d6d26ffb5 [BH-1944] Changing the rounding method for minutes in progress bar
Fix for rounding minutes in Focus Timer application
2024-05-16 11:36:07 +02:00
Maciej Gibowicz
5a70754a4e [BH-1971] Changing the refresh rate of the progress bar screen
The longer the time countdown on the progress bar, the less frequently
the screen is refreshed, which results in less power consumption when
running the Meditation, Relaxation, Power Nap and Focus Timer
applications.
2024-05-15 12:45:29 +02:00
Maciej Gibowicz
3ff04e06c9 [BH-1944] Changing the rounding method for minutes in relaxation
Only at startup, when the number of seconds is less than 30, the minutes
are rounded down, otherwise they are rounded up
2024-05-10 11:45:47 +02:00
rrandomsky
d9e1051500 [BH-1943] New countdown timer design in the meditation app
The countdown timer in the Meditation app has been changed
according to the new design. Now the countdown timer only shows the seconds
in the countdown window and only the minutes in the ongoing meditation window.
2024-04-29 11:38:07 +02:00
Lefucjusz
02fd01a1ad [BH-1848] Post-rebase fixes
* Fixes for the issues that caused builds
and unit tests to fail.
* Added changelog entry.
2024-04-26 14:05:04 +02:00
rrandomsky
ff089da0da [BH-1899] Add low battery screen before starting focus session
If the battery is discharged below 10%, the user gets a
notification before starting the focus session.
2024-04-26 14:05:04 +02:00
Dawid Wojtas
6719ccf931 [BH-1940] New progress time widget
This widget allows to display minutes and
also seconds when 1 minute left to the end of
the timer.
2024-04-26 14:05:04 +02:00
Maciej Gibowicz
c0e13a8397 [BH-1916] Add Error handling to the vertical list
Added error handling in case the file
selected in the vertical list is either
corrupted or deleted.
2024-04-10 15:33:14 +02:00
Lefucjusz
cd6db6491e [BH-1890] Change pre-wakeup chime list to vertical
* Added new widget SongsListViewItem
implementing ListViewWithLabels that
can be added as SettingsListItem.
* Changed horizontal list in pre-wakeup
to vertical using that new widget.
2024-04-10 15:33:14 +02:00
Lefucjusz
75c12a82e5 [BH-1895][BH-1909][BH-1910] New database structure for custom sounds
* Added creation of /user/media/app/alarm
directory that will be used to store
custom alarm sounds.
* Implemented new database structure.
* Adapted Alarm, Bedtime, Pre-wake up and
Snooze to new database structure.
* Added removing custom alarm files during
factory reset.
* Added fallback alarm sound mechanism.
* Cleanups, unifications.
2024-04-10 15:33:14 +02:00
Lefucjusz
dcccd41afa [BH-1930] Fix no volume update in DB in Relaxation
Fix of the issue that autoclose of volume
window in Relaxation would result in not
updating current volume value in database.
2024-03-25 15:38:31 +01: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
Dawid Wojtas
1839b2c6b4 [BH-1861] Backend for quotes on home screen
Implement a backend for getting and shuffle
the quote for home screen clock face.
2024-02-22 12:07:30 +01:00
Maciej Gibowicz
7088002df3 [BH-1860] Add new clock face with quotes
In the settings, the user can choose a clock face with quotes. A
dedicated clock face includes information about the time, alarm
settings, quote and author of the quote.
2024-02-22 12:07:30 +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
Maciej Gibowicz
12e443599e [BH-1839] Improved fonts
- Removed unused 190 px font
- Added new 32px bold and light & 170px regular fonts
- Added a new colon for the 170px font
2024-02-07 13:47:13 +01:00
Lefucjusz
cfd044be28 [BH-1874] Fix underline appearing when setting alarm time
Fix of the issue that underline appeared under
hours value when setting alarm time with knob
down (alarm disabled) after previous
confirmation of the alarm time.
2024-02-07 13:20:36 +01:00
Lefucjusz
648e88d617 [BH-1807] Fix missing AM/PM label in apps clock
* Fix of the issue that after changing font size
of the clock presented in Relaxation, Meditation
and Power Nap apps, AM/PM label was not shown
in 12h mode.
* Added logs informing about missing margins
map entry so that such issue is easier to debug
if it should happen in the future.
2023-12-20 15:56:21 +01:00
Lefucjusz
5e2d33e395 [BH-1731] Fix factory reset confirmation window layout
* Fixed factory reset confirmation window
layout to match the corresponding design.
* Added missing translations.
2023-12-20 11:37:17 +01:00
rrandomsky
1e1af48faa [BH-1845] Fixed time format in Settings and Onboarding (2)
This is the second fix. Now the time format in Settings and Onboarding is currently set
and changes dynamically during the user changing the time parameters.
2023-12-20 10:20:00 +01:00
Lukasz Mastalerz
7f543f7a80 [BH-1807] Increase clock font
Increase clock font in Relaxation, Meditation, Power nap mode
2023-12-15 14:53:09 +01:00
Lefucjusz
6daeebd0f4 [BH-1825] Remove minus sign in countdown timers of progress
Removed minus sign shown next to the remaining
time value for timers showing progress in
Meditation, Relaxation and Power Nap apps.
Style constants cleanup.
2023-12-13 11:39:05 +01:00
Lefucjusz
cc0fceaedf [BH-1826] Implement new countdown progress bar design
Implemented new countdown progress bar design,
used in Relaxation, Meditation and Power Nap
apps. New implementation shows progress
bar as decrementing as the time passes instead
of incrementing.
Cleanups.
2023-12-12 13:57:44 +01:00
Dawid Wojtas
59efb79001 [BH-1731] Factory reset removes user files
Performing the factory reset removes user files
and settings. After powering on the device
will run the onboarding.
2023-12-07 16:11:33 +01:00
Maciej Gibowicz
3cc3f50f7b [BH-1809][BH-1835] Add date format setting
Added date format selection between DD/MM and MM/DD.
The time setting has been updated.
2023-11-29 09:45:05 +01:00
Lefucjusz
4b66a8974f [BH-1782] Add brightness fade in
* Added brightness fade in - feature
which allows for gradual frontlight
brightness rise during alarm and
power nap ringing instead of turning
on with full brightness immediately.
* Fixed possibility to close
ringing power nap by long press
of back button.
2023-11-28 10:11:26 +01:00
rrandomsky
5fd9a4257f [MOS-1056] Hide the SOS label when the modem is not ready during onboarding
Hide the SOS label during onboarding when the modem is not ready for an emergency call.
2023-11-13 10:09:34 +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
Lefucjusz
22d9134476 [MOS-1052] Change VoLTE label from 'beta' to 'experimental'
Changed VoLTE label from 'beta' to
'experimental'.
Fixed transition state label font
size to match the design.
2023-11-07 15:46:38 +01:00
Lukasz Mastalerz
feec59f534 [BH-1696] Notification when connect the device to the charger
Adding notifications when charger is connected
2023-10-31 16:23:48 +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
Lefucjusz
d2240e3b97 [MOS-1048] Fix not fitting VoLTE button label
Fix of the issue that VoLTE checking
state label was cut off due to
improper setMinimumWidthToFitText()
method behavior when text is placed
in box with rounded corners.
2023-10-18 13:13:04 +02: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
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
9da6579167 [MOS-552] Fix alarm clock input behavior
Fix of multiple issues that manifested in
input fields of alarm clock, i.e. value
not erasing automatically, redundant
double-zero filling of hours field,
lack of zero-filling of minutes field
when navigating to AM/PM field in
12h mode.
2023-09-06 14:11:32 +02:00
Lefucjusz
69a7c63417 [MOS-1031] Fix Meditation app screen lock
Fix of the issue that Meditation app
would prevent phone from locking on
every screen, though it should do
so only on timer screen.
2023-09-06 11:00:27 +02:00
rrandomsky
df7535f10a [MOS-948] Revert: Fix for tethering popup was losing app context
Reverting previous fix because when tethering is switched on the user
are not able to use phone features, and we this fix make the user
to pass this block and it would make their confuse.
2023-08-31 13:04:44 +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
Lefucjusz
06d16390c2 [MOS-1021] Fix blocked passcode behavior
Fix of the issue that after blocking
passcode from Center, Pure would still
display passcode input popup; providing
valid passcode there would result in
phone entering invalid state, where it
behaved as if it was unlocked, but
with blocked passcode.
2023-08-29 16:43:49 +02:00
Lefucjusz
7a8e35016d [MOS-1026] Add extended logging to Pure's charger driver
* Added extended logging to Pure's charger driver.
* Removed redundant handling of INOKB pin
interrupt - charger is configured to provide
the same interrupt via INTB pin.
* Minor code cleanup.
2023-08-28 10:14:51 +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
rrandomsky
de5a92fa65 [MOS-948] Fix for tethering popup was losing app context
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 tethering is enabled via the popup, the user will
return to Application without data loss.
2023-08-18 11:28:21 +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
Lefucjusz
d2b9a10dd3 [MOS-1002] Change USSD code handling to match design
Fixed issues with GUI behaviour on failed
USSD code handling.
Minor code cleanup in several parts of system.
2023-08-02 12:07:29 +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