Changgyu Choi [Fri, 3 Jan 2025 10:35:00 +0000 (19:35 +0900)]
Add uid checking logic for APP_GET_APPID_BYPID
This patch prevents non-Tizen application from querying itself.
Change-Id: Ice4bb29f2e581de3814d4d7477ea8d0820def44f
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Tue, 19 Dec 2023 06:11:24 +0000 (15:11 +0900)]
Release version 1.27.21
Changes:
- Add startup timer
Change-Id: I1fa4462cea7b0c6f8766017bda5ad9f791dfd9ab
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Tue, 19 Dec 2023 01:24:42 +0000 (10:24 +0900)]
Add startup timer
Rarely, launchpad child process continues to be created and OOM occurs.
This patch adds a timer to recognize this case and monitor continuously.
Change-Id: Ib57d1c20ca46f7e32d959b81f0e2744aad289bc4
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Fri, 12 Aug 2022 08:27:28 +0000 (17:27 +0900)]
Release version 1.27.20
Changes:
- Fix wrong exception handling about appid check
Change-Id: I3dc1879aef1cf3c5fd5932f467e72182896e5c3b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 12 Aug 2022 08:16:24 +0000 (17:16 +0900)]
Fix wrong exception handling about appid check
If the appid is nullptr in the __check_request() function, the function
should return 0.
Change-Id: If4ca58c64a7af396e266aa534545482c83003522
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 25 Nov 2021 00:07:31 +0000 (09:07 +0900)]
Release version 1.27.19
Changes:
- Fix crash issue
Change-Id: Ib8d975f57bb537445fbfe65f150f118517f5f402
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 22 Nov 2021 09:23:07 +0000 (18:23 +0900)]
Fix crash issue
If the s1 argument of the strcmp() is nullptr, the caller process
will have crashed. To prevent crash issues, this patch adds the
exception handling to check whether the variable is nullptr or not.
Change-Id: I8d81844466aa5056f08528afe23ec25810dfd6d2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 28 Apr 2021 01:00:44 +0000 (10:00 +0900)]
Release version 1.27.18
Changes:
- Fix a bug about getting appid list
Change-Id: Ifa2c6c56d1af13c5472668215461332a6940201f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 27 Apr 2021 10:21:07 +0000 (19:21 +0900)]
Fix a bug about getting appid list
This patch is for backward compatibility.
To create the resolve info properly, if the mime is not an empty string
and uri has a slash, the uri should be the empty string
in the GetMime() method of ResolveInfo::Manager class.
To get the appid list properly, the GetAppID() method is added.
Change-Id: I356e5e3423df470dbe414ae32cc5d2d79e3246c7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 26 Apr 2021 00:55:07 +0000 (09:55 +0900)]
Release version 1.27.17
Changes:
- Fix invalid access
- Remove the unused function
Change-Id: Ib8ba4e854820b0b053a8675953eeba595642293f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 23 Apr 2021 10:12:04 +0000 (19:12 +0900)]
Remove the unused function
Calling sd_notify(0, "WATCHDOG=1") is not needed. AMD does not use
systemd watchdog.
Change-Id: I0adc93d8815cf34c2b8ee2b62d65716c324d0fab
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Sun, 25 Apr 2021 23:46:31 +0000 (08:46 +0900)]
Fix invalid access
When calling __remove_proc_info(), the allocated memory is released.
Before calling __remove_proc_info(), AMD sets the cmd variable to avoid
invalid access.
Change-Id: I16aa97d80b8cd63440033fa1d5137c4a9b5d5c65
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 23 Apr 2021 07:09:25 +0000 (16:09 +0900)]
Release version 1.27.16
Changes:
- Remove WatchdogSec option from service file
Change-Id: Ia85077f904e48ff481d6f1a28e2d2db3fdeaf16a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 23 Apr 2021 06:30:40 +0000 (15:30 +0900)]
Remove WatchdogSec option from service file
Change-Id: Ifdc1357fb65d7f9bf86bc3758f4c7bd6966cbc86
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 21 Apr 2021 07:48:40 +0000 (16:48 +0900)]
Release version 1.27.15
Changes:
- Fix APP_GET_APPID_LIST handler
Change-Id: I713dfa6fb2b74f90092a4852fc6fb14bafcbec97
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 21 Apr 2021 06:53:49 +0000 (15:53 +0900)]
Fix APP_GET_APPID_LIST handler
AMD alwasy has to send a list of application IDs when getting the request.
Change-Id: I2c557b7343d06d67497f9d5d0155fe87c1d9c53d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Sun, 18 Apr 2021 23:36:37 +0000 (08:36 +0900)]
Release version 1.27.14
Changes:
- Change the priority of the timeout source
Change-Id: I63ac0405b565d29233cc634109c94a2d89720d5e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Sun, 18 Apr 2021 23:22:30 +0000 (08:22 +0900)]
Change the priority of the timeout source
The priority is changed to G_PRIORITY_HIGH.
Change-Id: I49927f8c79ef3d3d26e4a7fb260c6f7c3ca4a9d1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 19 Mar 2021 05:08:13 +0000 (14:08 +0900)]
Release version 1.27.13
Changes:
- [input] Check LCD state
Change-Id: Ibcf150f176bb790770e28b2ceb3ab4a558f5ed84
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 19 Mar 2021 00:13:07 +0000 (09:13 +0900)]
[input] Check LCD state
If LCD is off, AMD doesn't block the input. While the display status is
changed to off, AMD unblocks the input.
Change-Id: I1ec1f29e5fa7f83a950ee08423e0796f77ce2092
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 10 Mar 2021 08:03:35 +0000 (17:03 +0900)]
Release version 1.27.12
Changes:
- Handle unknown operation of package event
Change-Id: I955c8a11e1705aef02fbd532abbe8d620b391125
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 10 Mar 2021 07:19:51 +0000 (16:19 +0900)]
Handle unknown operation of package event
If the package event occurs before starting AMD, AMD doesn't know what
the operation is. When getting ok value with unknown operation,
AMD will uninstall and install the package.
Change-Id: I212b13f2ee77d4a3570ea77cda41278597b201a5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Wed, 3 Mar 2021 02:10:03 +0000 (11:10 +0900)]
Release version 1.27.11
Changes:
- Fix static issues
Change-Id: Icf4180dc953cb841f1a4d0bfaf2084e501d2632c
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Wed, 3 Mar 2021 00:36:21 +0000 (09:36 +0900)]
Fix static issues
Change-Id: Ib9dba5702e583bc91cff4c55c75417e2d9b164c2
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Thu, 25 Feb 2021 04:07:58 +0000 (13:07 +0900)]
Release version 1.27.10
Changes:
- Support updating status synchronously
Change-Id: I528b1eaac69b319c762d75d6c76d0dd962ea489e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 25 Feb 2021 03:12:36 +0000 (12:12 +0900)]
Support updating status synchronously
Requires:
- https://review.tizen.org/gerrit/#/c/platform/core/appfw/aul-1/+/254204/
- https://review.tizen.org/gerrit/#/c/platform/core/appfw/appcore-agent/+/254205/
- https://review.tizen.org/gerrit/#/c/platform/core/appfw/amd/+/254206/
Change-Id: Iaa205f3f38623344158960bb9c4bdae49d944a08
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 24 Feb 2021 07:46:05 +0000 (16:46 +0900)]
Release version 1.27.9
Changes:
- Fix crash issue
Change-Id: I74dcd5e2551db3344313b6fe7806437165648959
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 24 Feb 2021 07:34:49 +0000 (16:34 +0900)]
Fix crash issue
- Fix invalid access
Change-Id: I4b8c322dd3090c940c1121c193d9e29119d26ac0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 22 Feb 2021 02:56:02 +0000 (11:56 +0900)]
Release version 1.27.8
Changes:
- [ui-core] Fix app group feature
Change-Id: I05f42bf7b250fff37762b96874f3a41f3a869ab3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 22 Feb 2021 01:21:57 +0000 (10:21 +0900)]
[ui-core] Fix app group feature
If the instance is already running, AMD doesn't create a new group info.
Change-Id: Ia104cbe746315857abbdfc38212e6fcd95d8ce9d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 28 Jan 2021 02:04:45 +0000 (11:04 +0900)]
Release version 1.27.7
Changes:
- Fix widget command check
Change-Id: I21a9ebb7617d2d85316275cd778ef12903b8ff68
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 27 Jan 2021 22:33:50 +0000 (07:33 +0900)]
Fix widget command check
If the widget application status is STATUS_DYING and the operation is
not "create", the launch request is rejected.
Change-Id: I26def5bc459977d21c8e650d9f0878473b64001e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 26 Jan 2021 03:03:44 +0000 (12:03 +0900)]
Release version 1.27.6
Changes:
- Enable Watchdog timer
Change-Id: Icdb41e751ebbc0e568492aa84a50b172550aa5c6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 26 Jan 2021 01:56:26 +0000 (10:56 +0900)]
Enable Watchdog timer
Change-Id: I4ea7aa7b6f115cff1e40e528b31139427cbd43d4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Sun, 24 Jan 2021 22:35:01 +0000 (07:35 +0900)]
Release version 1.27.5
Changes:
- Set process ID properly
Change-Id: I8e715c9db3a9de69b986a3c4d8cd0dc46cd77701
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 21 Jan 2021 10:40:48 +0000 (19:40 +0900)]
Set process ID properly
Even though an application is launched using debug tool, we should
notify the launched process ID properly to window manager.
After this patch is applied, AMD sets the real process ID when
the launched application is notified that it has started. And then,
the splash screen modules notifies the process ID to window manager.
Change-Id: I0f43f549479ac1a557a784256971f7341d62f80f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 12 Jan 2021 04:18:41 +0000 (13:18 +0900)]
Release version 1.27.4
Changes:
- Fix file descriptor management
- Fix anr monitor
- Fix launch failure check
- Fix typo
- Remove process info
- Support logger activation/deactivation
Change-Id: Ida94ad2bd61c36e8f06fa198f772b4d35a4cc95c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 12 Jan 2021 03:47:58 +0000 (12:47 +0900)]
Support logger activation/deactivation
After this patch is applied, a default value of the logger is "false".
It means the logger will be disabled. To enable the logger, the platform
developer should set the logger to the amd.conf file.
Change-Id: I2163619ddd4e7e54ec5ae19a76231f60eb2e26fe
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 12 Jan 2021 02:24:30 +0000 (11:24 +0900)]
Remove process info
Currently, AMD has a problem about handling ANR monitor.
Even though the process is terminated, the process information is not removed.
It causes wrong ANR issues.
Change-Id: Ief194a1245b465664a54a51603a14b7d5dd24ec4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 12 Jan 2021 03:30:32 +0000 (12:30 +0900)]
Fix typo
Change-Id: I2ee1af7dc2bd78ae4f2c6a1dc4e483b5a1fc24de
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 11 Jan 2021 09:13:40 +0000 (18:13 +0900)]
Fix launch failure check
If the result of sending the launch request is not -ECOMM,
AMD doesn't check whether the retrying count is over 5 or not.
Change-Id: I32315eb53cd4525f0d249bcb57f0f193dd156c70
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 11 Jan 2021 08:27:30 +0000 (17:27 +0900)]
Fix anr monitor
When ANR occurs, AMD removes a process info from the hash table.
Change-Id: Ibc2bc2bf8e20b1060ccbb112fd536082a91d1d00
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 11 Jan 2021 03:29:49 +0000 (12:29 +0900)]
Fix file descriptor management
This patch removes double free and leakages.
Change-Id: Ic8bed9d6ea9efd409005a56eada078978b498461
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
hyunho [Wed, 6 Jan 2021 11:03:21 +0000 (20:03 +0900)]
Release version 1.27.3
Changes:
- Do not restart widget when uninstalling
Change-Id: I7efcbbeb95892dea255d7bbf4e766f66ca99f509
Signed-off-by: hyunho <hhstark.kang@samsung.com>
hyunho [Wed, 6 Jan 2021 10:28:57 +0000 (19:28 +0900)]
Do not restart widget when uninstalling
Change-Id: Ibfdd71a6e38fec26382368242a5e4c6125e525e1
Signed-off-by: hyunho <hhstark.kang@samsung.com>
Hwankyu Jhun [Tue, 5 Jan 2021 22:54:20 +0000 (07:54 +0900)]
Release version 1.27.2
Changes:
- Fix request timeout handler
- Print elapased time for debugging
Change-Id: Ib7cf68cc0c9cb1299113b90f87668e81280e34f2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 5 Jan 2021 04:40:42 +0000 (13:40 +0900)]
Print elapased time for debugging
Change-Id: I0e6084fa753385500fd1b48d26e821b0999aec58
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 30 Dec 2020 22:50:42 +0000 (07:50 +0900)]
Fix request timeout handler
This patch removes updating the app status information from the timeout handler.
Even if the launched application is running normally, the application is
terminated by AMD. This patch is to prevent app termination.
Change-Id: I543279ba816f97d4a95697929e9072d787410310
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Tue, 15 Dec 2020 05:22:12 +0000 (14:22 +0900)]
Release version 1.27.1
Changes:
- Fix static analysis issues
- Add IoT profile into TIZEN_FEATURE_SHARE_PANEL
Change-Id: Idc5fcafa3e52dccd014c102c9ee3b233c98eec6d
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Tue, 15 Dec 2020 05:20:38 +0000 (05:20 +0000)]
Merge "Add IoT profile into TIZEN_FEATURE_SHARE_PANEL" into tizen
Changgyu Choi [Tue, 15 Dec 2020 04:57:26 +0000 (13:57 +0900)]
Add IoT profile into TIZEN_FEATURE_SHARE_PANEL
Change-Id: I3e9dafc3220b102a3d69bc4910afdd5bbfdd6df4
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Mon, 14 Dec 2020 23:49:52 +0000 (08:49 +0900)]
Fix static analysis issues
Issues:
- Uninitialized Variable
- Resourced leak
- Unused codes
Change-Id: I01fbf0161b8e9c13257348c0bf17d43dde0a3489
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 3 Dec 2020 03:06:53 +0000 (12:06 +0900)]
Release version 1.27.0
Changes:
- Support vconf key modification related to booting status
Change-Id: I758afab4ab605f18e48ccec97dae765fd69e7a5b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 2 Dec 2020 04:13:54 +0000 (13:13 +0900)]
Support vconf key modification related to booting status
The product developer wants to change the vconf key/value related to
booting status. The product developer can change starting time of
onboot service apps using the vconf key/value modification.
Change-Id: I61a589dc37fb76bc773d4f258c44cf8a12c4836e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 1 Dec 2020 22:22:17 +0000 (07:22 +0900)]
Release version 1.26.5
Changes:
- Fix memory leak
Change-Id: Icc7c80b0357149a767664db33cbfb790cd16a6f8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 1 Dec 2020 01:57:00 +0000 (10:57 +0900)]
Fix memory leak
Change-Id: I860a79173237daa9adb357709dda9c0852aebe5b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 30 Nov 2020 07:05:56 +0000 (16:05 +0900)]
Release version 1.26.4
Changes:
- Support onboot maximum interval configuration
Change-Id: Ie4b7f5a4667de4c0dbcf880678053c62c43d1651
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 30 Nov 2020 05:36:35 +0000 (14:36 +0900)]
Support onboot maximum interval configuration
Currently, the maximum interval of the onboot service app is hard-coded.
After this patch is applied, the platform developer can modify it.
Change-Id: Ieb705cde2b0f535199f6ba4aa1951dd7e5e5f60f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 27 Nov 2020 00:43:52 +0000 (09:43 +0900)]
Release version 1.26.3
Changes:
- Revert "Check executable file"
Change-Id: Ic655c70167b379c8d04da59f2ab4d8a9a567a00c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 26 Nov 2020 22:26:08 +0000 (07:26 +0900)]
Revert "Check executable file"
This reverts commit
fd64caf483cb85899d976d1beb63bbff7ba49398.
Change-Id: Id9678ffd143ba9d1a7f0595a890a8b8f08df530f
Hwankyu Jhun [Thu, 26 Nov 2020 04:50:22 +0000 (13:50 +0900)]
Release version 1.26.2
Changes:
- Support logger path setting
- Check executable file
Change-Id: I36f3c16d144f147dcce9566301b5d1a5a9380be2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 25 Nov 2020 04:56:48 +0000 (13:56 +0900)]
Check executable file
If an executable file is not executable, AMD rejects the launch request.
Change-Id: I3b77c9b0b3141b86ba77281e995b0b96f2779bd4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 25 Nov 2020 03:12:34 +0000 (12:12 +0900)]
Support logger path setting
Currently, the logger path is hard coded. After this patch is applied,
the platform developer can change the logger path using the configuration file.
Change-Id: I3e78acedf39dabc3c8eb18958cfccc955ae4bac9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
hyunho [Thu, 5 Nov 2020 05:53:18 +0000 (14:53 +0900)]
Release version 1.26.1
Changes:
- Allow Null widget instance ID
Change-Id: I134f0c1310bb0c90c4fc0faae173ea3a5abde680
Signed-off-by: hyunho <hhstark.kang@samsung.com>
hyunho [Thu, 5 Nov 2020 03:31:25 +0000 (12:31 +0900)]
Allow Null widget instance ID
trigger update API allows Null instance ID
Widget updates every running instance
when it receives the update command with Null instance ID
Change-Id: I318d11af87232ccb548203a2fa2cbd280fcc56de
Signed-off-by: hyunho <hhstark.kang@samsung.com>
Hwankyu Jhun [Wed, 4 Nov 2020 06:12:56 +0000 (15:12 +0900)]
Release version 1.26.0
Changes:
- Add a new function for plugin module
Change-Id: I97ad4ca91ad8ce4b8323e358e0a5cd167a74ef1d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 3 Nov 2020 09:55:37 +0000 (18:55 +0900)]
Add a new function for plugin module
Adds:
- amd_app_property_metadata_foreach_v2()
Change-Id: Id87f9870c5d380263f71f303e39ad7159ad57792
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 27 Oct 2020 01:28:04 +0000 (10:28 +0900)]
Release version 1.25.6
Changes:
- Prevent duplicate initialization of sensor
- Fix loading default appcontrol information
- Fix wrong implementation about getting mime type from file
- Move the position of printing logs
Change-Id: I9808d38389ed2ddd516095b38a42e4561764c0fb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 23 Oct 2020 03:05:21 +0000 (12:05 +0900)]
Move the position of printing logs
Change-Id: Ib8d12a2b58a1be80d1fab38d74b28306c134b72b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 20 Oct 2020 23:11:12 +0000 (08:11 +0900)]
Fix wrong implementation about getting mime type from file
Change-Id: I37ffd10c68eff060ca3a9ef4c0ff55e3719e0802
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 16 Oct 2020 05:29:38 +0000 (14:29 +0900)]
Fix loading default appcontrol information
The initial value of the user state can be "online". If the value is not
"opening", AMD doesn't load default appcontrol information from
appsvc database.
After this patch is applied, AMD tries to load default appcontrol
inforamtion when the user state is "opening" or "online" or "active".
Change-Id: I09de3dd57d44abc6e4961a936c94f482f24c9e93
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 13 Oct 2020 06:45:12 +0000 (15:45 +0900)]
Prevent duplicate initialization of sensor
To prevent duplicate initialization, this patch adds an exception
handling to check whether the initialized flag is true or NOT.
Change-Id: If8d38e6ffd3570e9ffa25a4f0745de479d549d8a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 12 Oct 2020 00:52:12 +0000 (09:52 +0900)]
Release version 1.25.5
Changes:
- Fix memory leak
Change-Id: I91a9619ec0116dcd41d5c454b57bc8b420417173
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 12 Oct 2020 00:35:30 +0000 (09:35 +0900)]
Fix memory leak
Change-Id: I307e20f2a5a98b93d1e12a2dc4489d656789810c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 8 Oct 2020 00:44:32 +0000 (09:44 +0900)]
Release version 1.25.4
Changes:
- Send missing noti messages
Change-Id: Ie7121718420fb486e2f5bb1f704d66964c61a8f7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 8 Oct 2020 00:32:56 +0000 (09:32 +0900)]
Send missing noti messages
To handle implicit launch properly, AMD should saves default app
information when it's changed.
Change-Id: I2c3d337e0550fde6ac19cc8430f3be460c0c2d07
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 6 Oct 2020 01:30:56 +0000 (10:30 +0900)]
Release version 1.25.3
Changes:
- Fix memory leak
- Fix a bug about getting the result
Change-Id: I2ce025ab1e9a23c2b6bcbd382aafd2f240dae0e5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 6 Oct 2020 00:48:27 +0000 (09:48 +0900)]
Fix a bug about getting the result
The command should be the process ID of the launched application.
Change-Id: I52b6a883b3f5ba72becf39378a05a10fc648dc31
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 5 Oct 2020 23:01:08 +0000 (08:01 +0900)]
Fix memory leak
Change-Id: I225cb0ebb67dd0316f09ad094a85c2b4e872c201
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 5 Oct 2020 08:47:14 +0000 (17:47 +0900)]
Release version 1.25.2
Changes:
- Revert "Fix a bug about sending app result"
Change-Id: I053289453ff33495593c6a28d2896e6824576d4b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 5 Oct 2020 08:27:35 +0000 (17:27 +0900)]
Revert "Fix a bug about sending app result"
This reverts commit
a31db019a4e9b7db2d6292425a2159c437667aa3.
Change-Id: I3227287d5d2f36239e32b6e70bf2e954c7ef5ba8
Hwankyu Jhun [Mon, 5 Oct 2020 08:01:27 +0000 (17:01 +0900)]
Release version 1.25.1
Changes:
- Add logs for debugging cynara response
- Initialize variables
- Fix a bug about sending app result
Change-Id: I4930d91b391c43cb2dc6bebcb34a4d84c4e29497
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
HwanKyu Jhun [Mon, 5 Oct 2020 08:01:17 +0000 (08:01 +0000)]
Merge "Fix a bug about sending app result" into tizen
Hwankyu Jhun [Mon, 5 Oct 2020 07:05:18 +0000 (16:05 +0900)]
Fix a bug about sending app result
Before sending the app result, AMD should get the process group
by the process ID.
Change-Id: I46302e478832f7d4d22a09e9ecd36d33e55296d6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 5 Oct 2020 05:37:44 +0000 (14:37 +0900)]
Initialize variables
This patch removes using uninitialised bytes.
Change-Id: Ic147bad418888f62ecd31ed6d4c28cbc476f1032
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 5 Oct 2020 05:55:21 +0000 (14:55 +0900)]
Add logs for debugging cynara response
Change-Id: I271dc1380065ff1701cc7be3cdc46e29c9fd9a5b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Sun, 4 Oct 2020 23:37:46 +0000 (08:37 +0900)]
Release version 1.25.0
Changes:
- Resolve implicit launch
Change-Id: Ibc75944225f0972e224aed00600a448abecd99b5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 21 Sep 2020 10:04:28 +0000 (19:04 +0900)]
Resolve implicit launch
To improve implicit launch performance, AMD finds the matched
applications when getting the implicit launch request.
Change-Id: I6519a314835ce2b69150c670bff281a0e880d7a9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 22 Sep 2020 06:17:41 +0000 (15:17 +0900)]
Release version 1.24.0
Changes:
- Support alias app resumption
Change-Id: Iddd1e31b11faa69916f0e5f6df83755218983fb0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 22 Sep 2020 01:47:47 +0000 (10:47 +0900)]
Support alias app resumption
When the alias info exists, AMD removes the instance ID to send the
resumption request. Before sending the request, AMD finds the status
information using instance ID if it exists.
Change-Id: I3f0a01b13f41bdaf31254095478a9c0949e4f43b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 22 Sep 2020 05:47:51 +0000 (14:47 +0900)]
Release version 1.23.13
Changes:
- Fix directory hierarchy & cmake configuration files
- Fix wrong dependencies
- Fix CMake config file
- Remove custom is_group_mode() in amd modules
- Fix a bug about removing app info
Change-Id: Idbec5ad652d0ae57664cc550c30794c1fd6f88da
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 22 Sep 2020 03:23:53 +0000 (12:23 +0900)]
Fix a bug about removing app info
To pass uid properly, AMD should use uid of pkg info.
Change-Id: I483ec2f53c32641effb3ee45cc5b6f8777a974a8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Tue, 22 Sep 2020 02:24:25 +0000 (11:24 +0900)]
Remove custom is_group_mode() in amd modules
These are duplicated with amd_launch_mode_is_group_mode()
Change-Id: I04eeecf10f57e9139b80357763625d96502988ae
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Mon, 21 Sep 2020 02:37:53 +0000 (11:37 +0900)]
Fix CMake config file
- Removes undefined flags
Change-Id: I2ac9f998efb94d2bacdbfd3a7647f87686aea7ee
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 21 Sep 2020 02:35:21 +0000 (11:35 +0900)]
Fix wrong dependencies
- Adds LOG_MAX_STRING_SIZE definition for modules
- Adds missing library dependencies
Change-Id: Icb38a4dae8e03ee2dbba8da915bf8de87334949b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 18 Sep 2020 03:21:27 +0000 (12:21 +0900)]
Fix directory hierarchy & cmake configuration files
CMake configuration files are changed. Some file extensions
are changed to ".cc". The dlopen() invocation is no longer needed.
AMD uses amd_main() instead of dlopen().
Directory hierarchy is changed as below:
+-----------------------------------------------------+
| amd/ |
| |-- cmake/ |
| |-- packaging/ |
| |-- src/ |
| |-- amd/ |
| |-- lib/ |
| | |-- api/ |
| | |-- app_com/ |
| | |-- common/ |
| | |-- pkgconfig/ |
| |-- modules/ |
| |-- boost/ |
| |-- complication/ |
| |-- component-manager/ |
| |-- cooldown/ |
| |-- cynara-core/ |
| |-- extractor/ |
| |-- input/ |
| |-- job-scheduler/ |
| |-- launchpad/ |
| |-- loader-manager/ |
| |-- rpc-port/ |
| |-- rua/ |
| |-- screen-resolution/ |
| |-- share/ |
| |-- splash-screen/ |
| |-- ui-core/ |
| |-- watch/ |
| |-- watchdog/ |
| |-- wayland-core/ |
| |-- widget/ |
+-----------------------------------------------------+
Adjust cmake configuration files
Change-Id: Ie6454e9225fdc7b23a935f7a032ccbf8745e98ee
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Wed, 16 Sep 2020 06:38:59 +0000 (15:38 +0900)]
Release version 1.23.12
Changes:
- Add function "amd_app_status_is_debug_mode"
- Add direct launch option using metadata
Change-Id: I33cf351b0d8cc9f58b7c4b6afaa9fc4952ec1954
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Wed, 16 Sep 2020 01:58:38 +0000 (10:58 +0900)]
Add direct launch option using metadata
If you want to send the launch request without using loader,
please add metadata in the tizen-manifest.xml as below:
+---------------------------------------------------------------------+
|<metadata key="http://tizen.org/metadata/direct-launch" value="yes"/>|
+---------------------------------------------------------------------+
Change-Id: I29225be7404d395130c5791e618ea0fd085a96a8
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Tue, 15 Sep 2020 00:50:41 +0000 (09:50 +0900)]
Add function "amd_app_status_is_debug_mode"
Change-Id: Ia7447591da1c8614eeeea85e602eee6c39cb676a
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Mon, 14 Sep 2020 09:44:15 +0000 (18:44 +0900)]
Release version 1.23.11
Changes:
- Refactor amd modules
- Ignore killing the process for debug app.
- Update rua history when the app fg or running
Change-Id: I24b794dcf6312d50c2bc11ad454f401315a5c0ed
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>