Commit Graph

50 Commits

Author SHA1 Message Date
Lefucjusz
9a8ffff654 [BH-1863] Fix deleted file popup showing in Relaxation
* Fix of the issue that 'File has been
deleted' popup would show in Relaxation
app at the end of playback if the
playback was paused at least once,
even though the file wasn't actually
deleted.
* Added very basic audio decoder error
handling and propagation mechanism.
* Minor refactor around several
audio-related parts.
2024-02-01 12:09:32 +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
d6055890b6 [MOS-1036] Fix song time not updated when returning from list
* Fix of the issue that switching from songs
list to main view after playing and stopping
some track resulted in elapsed time counter
not being updated until the song is unpaused;
* cleanups.
2023-09-13 14:07:39 +02:00
Lefucjusz
178fba165e [MOS-783] First part of new dir structure implementation
Works:
    - generating .img for Pure;
    - Pure boots after flashing new image and
    seems to be working fine;

    Not yet:
    - generating update package;
    - generating image for Harmony;
    - simulator;
    - path-related unit tests fail
    due to paths being hardcoded
    in test scenarios.
2023-01-19 16:41:56 +01:00
Mateusz Piesta
150f1cfdef [CP-1560] New user directory structure
* New user directory implemented.
* Generate user directory structure at compile
time instead of at runtime(Pure/Harmony).
* Changed MTP root path to /storage
* FileIndexer: Minor refactor
* FileIndexer: Fixed handling incorrect/non-existing
scan directories.
* Updated Repository module to correctly handle
many assets paths.
* MultimediaDB: Minor unit tests refactor and fixed
some issues when using simulator.
* MultimediaDB: Added new queries and unit tests
* Harmony/Relaxation: Updated to correctly
use audio assets from more than one source.
* Harmony/Relaxation: Updated model and list items
provider.
* Harmony/Relaxation: Fixed stack overflow in audio service
2023-01-19 16:41:56 +01:00
Maciej-Mudita
6981f836a0 [MOS-717] Add pop-up about SIM removed/inserted in all apps
Previously, this information only appears on the desktop,
settings application and onboarding.
2022-12-08 16:03:18 +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
Maciej Janicki
706a25df1d [BH-1125] Add file indexer
Add file indexer
2021-12-06 09:46:13 +01:00
tomaszkrosnowski
cf96290deb [EGD-7232] Music player track preview
Added track progress bar and track preview window.
2021-10-14 18:43:32 +02:00
Maciej Gibowicz
c69fde01d4 [EGD-6630] Integration file indexer with music player
The list of music tracks is retrieved from the database,
where they are indexed beforehand,
instead of being searched in real time in the file system.
2021-09-23 20:29:14 +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
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
Jakub Pyszczak
200c9b949d [EGD-7432] Tags fetcher
Added tags fetcher as universal audio utility
which can be used without bus overhead
2021-09-03 16:35:59 +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
Alek Rudnik
cf019e3d96 [EGD-6776] Music Player All Songs Window
Full MVP design.
Removed redundant Empty Window.
Added play/pause/resume/stop control.
2021-07-30 10:36:30 +02:00
tomaszkrosnowski
79cbe1517e [EGD-7165] Stop playing music when leaving MP
When Music Player (MP) app is closed the currently played track should
be stopped so the music is no longer heard by user.
2021-07-29 14:56:43 +02:00
Alek Rudnik
99ae1539c2 [EGD-6723] Music Player application skeleton
Rewritten Music Player to use MVP pattern.
There are no functional changes under this commit.

Fix for port audio leakage
2021-07-26 14:25:25 +02:00
tomaszkrosnowski
bee8aab63d [EGD-7163] Disable auto locking when playing music
When Music Player app is playing a track the phone should not be auto
locked.
2021-07-21 13:16:33 +02:00
DariuszSabala
0e25f8590e [BH-388] Turned music player app into library
Turned application music player into separate library,
specified private and public include directories and
dependencies
2021-06-18 16:53:12 +02:00
Lukasz Skrzypczak
7fee0d9cfb [BH-378] Utils move log to library
Moved log to separate library
2021-06-08 12:24:29 +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
Marek Niepieklo
51c674a65c [EGD-6495] Add pause/resume/stop to MP
Added basic Pasue/Resume/Stop actions to confirm
that related Audio service operations work

Added handling of headset OK for Pause/Resume/Stop actions
while in Music Player
2021-04-27 00:09:21 +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
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
Marcin Smoczyński
cf75cfc012 [EGD-5973] Reduce audio stack usage
Verify stack usage of:
 - ServiceAudio
 - application music player
 - decoder worker
Change if possible to a realistic value keeping a 30% margin.
Stack usage reduction is limited due to an extensive stack usage of
every call to the filesystem, which uses around 2 kB of stack.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-03-19 09:55:06 +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
Jakub Pyszczak
b4875c8a85 [EGD-5983] Remove volume label from music app
Removed volume label from application music player.
Volume level should be shown using new popup system.
Introduced minor fixes in music player.
2021-03-02 14:26:37 +01:00
Hubert Chrzaniuk
232042a362 [EGD-5772] Add pause/resume API for media player
Simple version of pause / resume APIs has been added
for media player.
2021-02-17 11:32:59 +01:00
Jakub Pyszczak
e7f176ac31 [EGD-4927] Change new filesystem
Due to vfs deprecation there is need to remove all vfs calls from code. This PR covers module apps.
2020-12-22 09:00:13 +01:00
jimmorrisson
14918dc4f9 [EGD-4925] Change new filesystem handling implementation in module-gui. (#1193)
Due to vfs deprecation there is need to remove all vfs calls from code. This PR covers module gui. There are some modifications in other modules included which are necessary because of build system issues.
2020-12-16 15:23:11 +01:00
Krzysztof Mozdzynski
0ef0d615f3 [EGD-4150] Change filename i18 to i18n (#1108)
Change filename of internationalization files from i18 to i18n.

I18n should stand for internationalization, not i18. That's why I changed in 'module-utils' name of the folder 'i18' and both .cpp and .hpp files to 'i18n'.
2020-11-27 18:31:00 +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
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
Radoslaw Wicik
2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +02:00
Hubert Chrzaniuk
9bfdae8e5e [EGD-4080] Fix Media Player crash (#832) 2020-10-14 09:52:42 +02:00
Adam Dobrowolski
7b4a706cd6 EGD-4036 Application windows - added register mechanism
* Moved ApplicationLauncher to separate files - declutering
* WindowsStore renamed to WindowsFactory - Store needs to be splitted toavoid antipattern
* Options window build dynamically onBeforeShow
* Dialog windows dynamically built
2020-10-13 17:46:10 +02:00
Hubert Chrzaniuk
9c7e4139db [EGD-3784] Add service audio non blocking API (#789) 2020-10-08 10:15:46 +02:00
Jakub Pyszczak
2df98eea48 [EGD-3841] Add audio vibration and enable sound option 2020-10-06 17:06:34 +02:00
hubert-chrzaniuk
b327fc36e2 [EGD-3778] Add priorities and sound mux to audio system (#726) 2020-09-28 11:50:13 +02:00
jimmorrisson
7b626ce755 [EGD-3098] Add audio volume control per functionality. 2020-09-20 13:41:19 +02:00
alek
0513c8d413 [EGD-3747] music player empty window 2020-09-18 11:22:16 +02:00
alek
da8f35c2c6 [EGD-3464] fix playaback of mp3 files 2020-08-28 09:46:00 +02:00
alek
bc7f0091ca [EGD-3423] Added simple music player 2020-08-04 16:53:12 +02:00