summaryrefslogtreecommitdiffstats
path: root/app/main.cpp
AgeCommit message (Collapse)AuthorFilesLines
2022-02-14Update for app framework removalmarlin_12.93.0marlin/12.93.012.93.0Scott Murray1-71/+46
Changes: - Remove the autobuild scripts and config.xml used by the app framework widget build. - Update the qmake files to just build a "settings" binary and install it into /usr/bin by default. - Remove the code in main.cpp that handled reading the WebSocket command-line arguments and passing them to binding related code. - Add initial .desktop file and icon copied from the launcher source tree, and updated .pro files to install them. Bug-AGL: SPEC-4182 Change-Id: I479ca8f405f38d36e1f5f531581a07073d40005e Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2020-06-24Remove windowmanager dependsMarius Vlad1-34/+1
Bug-AGL: SPEC-3447 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I0530e4a89a24cb1cf730dde4e25675d2d4a01f7a
2019-12-11Switch to using libqtappfwicefish_8.99.4icefish_8.99.3icefish/8.99.4icefish/8.99.38.99.48.99.3Scott Murray1-0/+3
Pull in the libqtappfw library to use its radio binding support, in order to have playback state in the UI reflect the binding state (e.g. handle the radio binding tuning being changed via steering wheel events). Bug-AGL: SPEC-3041 Change-Id: Icb6729029d39d9da0ef62dfe6c598d6ffcef43cd Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-09-09Update default presets locationScott Murray1-8/+21
Since the changes to run the applications as non-root, the location of the default preset file has not matched with the agl-driver user the application runs as. Since simply changing the install location to /home/1001 would require some post-install SMACK label tinkering, and is perhaps fragile to the application user, the files are now instead installed to /etc/xdg/AGL, with the defaults to be used named radio-presets.conf. Update the QSettings code to first look for /etc/xdg/AGL/radio-presets.conf before trying the appdata directory. Bug-AGL: SPEC-2789 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I6fd32575c4bd8f42f8575a078f62e64555ba50c2
2018-12-19Use Event_ShowWindow instead of Event_TapShortcuthalibut_7.90.0halibut/7.90.0guppy_6.99.4guppy_6.99.3guppy/6.99.4guppy/6.99.37.90.06.99.46.99.3wang_zhiqiang1-3/+3
The interface of homescreen service will be changed then, use Event_ShowWindow instead of Event_TapShortcut. Related changes: agl-service-homescreen: https://gerrit.automotivelinux.org/gerrit/#/c/17929/ libhomescreen: https://gerrit.automotivelinux.org/gerrit/#/c/17931/ libqthomescreen: https://gerrit.automotivelinux.org/gerrit/#/c/17933/ BUG-AGL: SPEC-1931 Change-Id: I68b3056e34ae4d75ccfa3d98639c4fd38a9d068b Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-11-15Modify graphic roleguppy_6.99.2guppy_6.99.1guppy/6.99.2guppy/6.99.16.99.26.99.1Kazumasa Mitsunari1-8/+8
Window Manager set role name as lower_case, then change role as lower_case. Bug-AGL: SPEC-1754 Change-Id: I77c3c875ff92949275fd35feb5274009342ac2c0 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-10-30delete application_name check in tap_shortcut eventwang_zhiqiang1-10/+2
because of now homescreen-service emit event to one application, delete the applciation_name check. Bug-AGL: SPEC-1764 Change-Id: Ic2e88e08adc0d95f8bb1a381c10e8d848dd9235d Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-08-24Revert "Use appid between homescreen-service and apps"guppy_6.90.0guppy/6.90.0flounder_5.99.6flounder_5.99.5flounder_5.99.4flounder/5.99.6flounder/5.99.5flounder/5.99.46.90.05.99.65.99.55.99.4Tadao Tanikawa1-2/+10
This reverts commit 1474d69e2682909b9d4d65006fcc9152d160346d. Bug-AGL: SPEC-1685 Change-Id: Ic145707b0ca52abe0eee08e06455965ff6477c0e Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-08-06Use appid between homescreen-service and appsflounder_5.99.3flounder/5.99.35.99.3zheng_wenlong1-10/+2
Use appid between hss and apps, and check event destination in libhomescreen. So these is no need compare code when recived Event_TapShortcut Event. BUG-AGL: SPEC-1645 Change-Id: I325f51f7189aadf89acb2125f6c4886211536dfb Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2018-08-02Improve output of multiple screen resolutionTadao Tanikawa1-0/+2
To improve output on various monitor with various resolution, use scale_factor from WM to fit various screen resolution. Bug-AGL: SPEC-1568, SPEC-1569, SPEC-1611 Change-Id: I7532f5df390d380e8dac00519af0943b342ad31c Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-11-14Porting to new HMI Frameworkeel_4.99.3eel/4.99.34.99.3Scott Murray1-15/+44
Changes following guidelines given in "Kickstart: New HMI Framework" document at: https://wiki.automotivelinux.org/_media/kickstart_apps_migration_guide.pdf Change-Id: Ia3fc024b1f10acf9aa9dab56cd5336db83089019 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2017-05-23Rework to add and use a binding for radio controldab_3.99.1dab/3.99.13.99.1Scott Murray1-3/+25
A radio binding has been added in the new binding directory, and the application has been reworked to use it. The binding uses a modified version of the rtl_fm code used in the qtmultimedia radio plugin that was previously used, and some new code has been added to output to PulseAudio using the asynchronous API to ensure compatibility with stream corking. The rtl_fm code has been enhanced to add seeking support, and the application has been tweaked to use it. Bug-AGL: SPEC-581 Change-Id: I011e98374accc2cad2b36c93ac800948ee51f2aa Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2017-03-01Import latest Chinook code from CES2017 repoScott Murray1-0/+83
Change-Id: I52a49fa8b3b8ba33157622c7bc78c6bfae793196 Signed-off-by: Scott Murray <scott.murray@konsulko.com>