platform/core/appfw/amd.git
5 days agoRelease version 1.70.1 11/312111/1 tizen
Hwankyu Jhun [Tue, 4 Jun 2024 09:31:57 +0000 (18:31 +0900)]
Release version 1.70.1

Changes:
 - Change return value when app is blocking status
 - Modify noti message
 - Separate initialization of AppStatusManager
 - MemoryLimit has been replaced by MemoryMax

Change-Id: Ibc9c9e0e1057c56d320006fff332142a11e768e2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 days agoMemoryLimit has been replaced by MemoryMax 09/312109/1
Łukasz Stelmach [Tue, 4 Jun 2024 09:29:39 +0000 (11:29 +0200)]
MemoryLimit has been replaced by MemoryMax

The  MemoryLimit option is marked as deprecated in systemd and needs to
be changed to MemoryMax in unit files.

Change-Id: I767dc60a32719d92418c2549c8636b13b081a0e5
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
5 days agoSeparate initialization of AppStatusManager 85/312085/2
Hwankyu Jhun [Tue, 4 Jun 2024 06:10:19 +0000 (15:10 +0900)]
Separate initialization of AppStatusManager

The following methods are added:
 - AddSignalReadyCb()
 - SetRequestBrokerDisconntectedEventCb()
 - AddInotifyWatch()
 - AddVconfInitTimer()

The AppStatusManager::Init() calls the added functions for the initialization.

Change-Id: I0ac3986fed9f9980c7a43fb272730e7934947959
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 days agoModify noti message 86/312086/2
Hwankyu Jhun [Tue, 4 Jun 2024 06:15:57 +0000 (15:15 +0900)]
Modify noti message

The argument is added to notify that the status is updated forcedly.

Change-Id: I71e212046be86e2d493d2fd33d30baacd141a7d0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 days agoChange return value when app is blocking status 76/312076/1
Hwankyu Jhun [Tue, 4 Jun 2024 04:34:04 +0000 (13:34 +0900)]
Change return value when app is blocking status

The implementation of CheckExecutable method changes the value that
returned -ENOENT to -EREJECTED.

Change-Id: Ibb4d999c62f553751b94d38c803328f8f6b46595
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 days agoRelease version 1.70.0 69/312069/1 accepted/tizen_unified accepted/tizen_unified_x accepted/tizen/unified/20240604.160853 accepted/tizen/unified/x/20240605.012722
Hwankyu Jhun [Tue, 4 Jun 2024 00:28:44 +0000 (09:28 +0900)]
Release version 1.70.0

Changes:
 - Handle robot app type

Change-Id: I4f820e5fdaa9d8924b4381a2b2bc04b479938eef
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 days agoHandle robot app type 43/312043/2
Hwankyu Jhun [Mon, 3 Jun 2024 06:50:35 +0000 (15:50 +0900)]
Handle robot app type

To support robot profile, amd handles 'robotapp' type.

Change-Id: I5a436de2215ca2da77d7e84effe806f083feb93d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 weeks agoRelease version 1.69.16 40/309840/1 accepted/tizen/unified/20240419.110902 accepted/tizen/unified/x/20240422.045715
Hwankyu Jhun [Wed, 17 Apr 2024 07:02:19 +0000 (16:02 +0900)]
Release version 1.69.16

Changes:
 - Fix static analysis issues

Change-Id: I038b74c62f126c7ee07853f7eb746a7cd1063af2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 weeks agoFix static analysis issues 30/309830/2
Hwankyu Jhun [Wed, 17 Apr 2024 05:30:15 +0000 (14:30 +0900)]
Fix static analysis issues

This patch checks whether the GError variable is nullptr or not.

Change-Id: Ia98fb1c35ce8538e84d253df0c4849bfc190f390
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 weeks agoRelease version 1.69.15 85/309785/1
Hwankyu Jhun [Wed, 17 Apr 2024 01:55:49 +0000 (10:55 +0900)]
Release version 1.69.15

Changes:
 - rpc-port: Modify stub preparation handler

Change-Id: If40713897de07a81435eae1f3bbbeefb36aed619
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 weeks agorpc-port: Modify stub preparation handler 80/309780/2
Hwankyu Jhun [Wed, 17 Apr 2024 01:23:54 +0000 (10:23 +0900)]
rpc-port: Modify stub preparation handler

If the request is pended, amd sends the result to the caller immediately.

Change-Id: I0307a428ddc3b075a3f59d260f1bb3efc96c84ff
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoRelease version 1.69.14 40/309040/1 accepted/tizen/unified/20240404.164500 accepted/tizen/unified/x/20240408.053707
Hwankyu Jhun [Thu, 4 Apr 2024 06:39:02 +0000 (15:39 +0900)]
Release version 1.69.14

Changes:
 - Create aul directories

Change-Id: I2a90d22c77107b80d3bf6ddced75145317bd4b2c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoCreate aul directories 37/309037/2
Hwankyu Jhun [Thu, 4 Apr 2024 05:51:39 +0000 (14:51 +0900)]
Create aul directories

Currently, amd can run before creating aul directories by systemd-tempfiles.
In this case, amd has crashed. When attempting to access the '.amd.db',
the operation fails because the directory does not exist, which causes
the crash. When doing the AMD initialization, it is necessary to check whether
the required directory exists and perform the creation operation if it doesn't.

Change-Id: I3a36b9cffa778d8a97f8b2aff7c9035adde1667e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoRelease version 1.69.13 95/308995/1 accepted/tizen/unified/20240404.021402 accepted/tizen/unified/x/20240404.061823
Hwankyu Jhun [Wed, 3 Apr 2024 09:41:10 +0000 (18:41 +0900)]
Release version 1.69.13

Changes:
 - Modify rpcport directory permissions
 - Remove vip configuration file from resourced directory

Change-Id: I5e96bcc309f51a87e98ddb03b973156b5f405150
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoRemove vip configuration file from resourced directory 59/308859/1
Hwankyu Jhun [Tue, 2 Apr 2024 03:54:17 +0000 (12:54 +0900)]
Remove vip configuration file from resourced directory

To prevent rebooting the device, amd.vip.conf file is removed.
When amd is restarted, amd loads running context informations from
the db(tmpfs). Rebooting the device is not needed.

Change-Id: I8365b7a68c46df30a260cc4dc74671eba9e1a6f4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoModify rpcport directory permissions 58/308858/1
Hwankyu Jhun [Tue, 2 Apr 2024 03:49:53 +0000 (12:49 +0900)]
Modify rpcport directory permissions

The permission is changed to 777. The owner and group are changed to root:root.
The application cannot create and delete the file directly.
Because, the SMACK label of the directory is "User::Home".

Change-Id: Ic272de07661cffc4c71945f845dbcc5d02c41b2f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoRelease version 1.69.12 34/308834/1 accepted/tizen/unified/20240402.151316 accepted/tizen/unified/20240402.163616 accepted/tizen/unified/x/20240403.102926
Hwankyu Jhun [Tue, 2 Apr 2024 00:36:20 +0000 (09:36 +0900)]
Release version 1.69.12

Changes:
 - Check disabled app info

Change-Id: I4af8fa2ade09c6a4295d0fa0889b588a6cce7618
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoCheck disabled app info 32/308832/2
Hwankyu Jhun [Tue, 2 Apr 2024 00:25:32 +0000 (09:25 +0900)]
Check disabled app info

If amd cannot find the appinfo from the memory & db when getting
the launch request, amd should check whether the disabled app info exists
or not.
This patch is for debugging.

Change-Id: I88c893bcf5e51bdae17b18755a0f0461c57cd41e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoRelease version 1.69.11 99/308699/1 accepted/tizen/unified/20240401.021557 accepted/tizen/unified/20240401.165605 accepted/tizen/unified/x/20240401.013222
Hwankyu Jhun [Fri, 29 Mar 2024 03:20:34 +0000 (12:20 +0900)]
Release version 1.69.11

Changes:
 - Fix login monitor

Change-Id: I351e3ee09c2633628ad5957b7eec3c52e0acd631
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoFix login monitor 80/308680/1
Hwankyu Jhun [Thu, 28 Mar 2024 22:58:19 +0000 (07:58 +0900)]
Fix login monitor

Before setting UID_STATE_ONLINE to the state of the user info, amd
should check whether the state is UID_STATE_ONLINE or not.

Change-Id: I716da3c33f1509e13d85cdcf1039410c73d66cbe
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoRelease version 1.69.10 62/308662/1
Hwankyu Jhun [Thu, 28 Mar 2024 11:14:22 +0000 (20:14 +0900)]
Release version 1.69.10

Changes:
 - Modify sending ping request

Change-Id: Ibc8438569ff763704dd7fd65793452ea262867f9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoModify sending ping request 58/308658/4
Hwankyu Jhun [Thu, 28 Mar 2024 10:41:44 +0000 (19:41 +0900)]
Modify sending ping request

This patch changes the ping request to asynchronous.

Change-Id: Ia37d49b9e6f2f74434e510bbad1147e699f554f5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoRelease version 1.69.9 20/308620/1
Ilho Kim [Thu, 28 Mar 2024 07:15:37 +0000 (16:15 +0900)]
Release version 1.69.9

Changes:
 - Add codes for bypass pkgmgr privilege
 - Update codes for bypass pkgmgr privilege

Change-Id: I9a6945a0f94506e0ccdfbfff5eb658522483b9f9
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 months agoUpdate codes for bypass pkgmgr privilege 07/308507/2
Inkyun Kil [Wed, 27 Mar 2024 00:17:30 +0000 (09:17 +0900)]
Update codes for bypass pkgmgr privilege

Change-Id: Ieebeb5f9a8f9022a14dbc26b5efe6ebecc28ac65
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
2 months agoAdd codes for bypass pkgmgr privilege 29/308429/2
Inkyun Kil [Mon, 25 Mar 2024 09:06:25 +0000 (18:06 +0900)]
Add codes for bypass pkgmgr privilege

- Changing the pkgmgr protocol to TIDL requires a way to pass the privilege

Change-Id: Ia2ff2364016f5112ccf37ff95dc95dd3b1f2b311
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
2 months agoRelease version 1.69.8 15/308315/1 accepted/tizen/unified/20240322.174303 accepted/tizen/unified/x/20240326.073107
Hwankyu Jhun [Thu, 21 Mar 2024 08:40:31 +0000 (17:40 +0900)]
Release version 1.69.8

Changes:
 - Fix crash issues related to amd termination

Change-Id: I7d5d473fb53ec44af324cd53eef6185acf6453cc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoFix crash issues related to amd termination 96/308296/1
Hwankyu Jhun [Thu, 21 Mar 2024 04:44:50 +0000 (13:44 +0900)]
Fix crash issues related to amd termination

There are crash issues related to termination behavior of amd.
This patch fixes 'use after free' problems.

Change-Id: Idb671e45c1f365f6bebc9d64002e9adc0f9df6d5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoRelease version 1.69.7 79/307979/1 accepted/tizen/unified/20240315.111214 accepted/tizen/unified/20240315.155144 accepted/tizen/unified/x/20240319.055417
Changgyu Choi [Fri, 15 Mar 2024 01:36:06 +0000 (10:36 +0900)]
Release version 1.69.7

Changes:
 - Change mainloop to tizen-core

Change-Id: Iae1ae3720773d6990964b60e64e80dc875f4a03d
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 months agoChange mainloop to tizen-core 97/307897/3
Changgyu Choi [Thu, 14 Mar 2024 05:15:39 +0000 (14:15 +0900)]
Change mainloop to tizen-core

After applying this patch, amd uses tizen-core mainloop instead of gmainloop.

Change-Id: Ide72e7a3856804861898b6c5c06b928e2a4bd1b5
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 months agoRelease version 1.69.6 36/307736/1 accepted/tizen/unified/20240313.134714 accepted/tizen/unified/20240313.135712 accepted/tizen/unified/x/20240314.073145
Hwankyu Jhun [Tue, 12 Mar 2024 22:49:05 +0000 (07:49 +0900)]
Release version 1.69.6

Changes:
 - Check widget viewer privilege
 - Remove backtrace output
 - Remove warning messages

Change-Id: I18e158c7fdcd2dede6c177e7d150567033fa4a22
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoRemove warning messages 27/307527/1
Hwankyu Jhun [Mon, 11 Mar 2024 23:15:24 +0000 (08:15 +0900)]
Remove warning messages

The return type of the callback function of the amd noti should be integer.

Change-Id: Ibf500d61d61c9af92bfd9037834306db4e81b8d7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoRemove backtrace output 25/307525/2
Hwankyu Jhun [Mon, 11 Mar 2024 22:54:08 +0000 (07:54 +0900)]
Remove backtrace output

If amd calls backtrace() when getting the signal, amd can be crashed.
This patch removes to print backtrace using backtrace() function.

Change-Id: I58a4ae0427da67a2ff2bdf67f8171c5e58515b12
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 months agoCheck widget viewer privilege 24/307524/1
Hwankyu Jhun [Fri, 8 Mar 2024 05:13:10 +0000 (14:13 +0900)]
Check widget viewer privilege

If the port name is "ScreenConnectorInput", amd checks whether the
caller has a privilege related to widget viewer or not.

Change-Id: I15019d879a2633099bebf8aa1ed5995a991e9f15
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 months agoRelease version 1.69.5 05/306805/1 accepted/tizen_unified_toolchain accepted/tizen/unified/20240228.170409 accepted/tizen/unified/toolchain/20240311.065207 accepted/tizen/unified/x/20240304.072406 accepted/tizen/unified/x/20240304.072649
Hwankyu Jhun [Tue, 27 Feb 2024 23:54:41 +0000 (08:54 +0900)]
Release version 1.69.5

Changes:
 - tizen_launch_splash_launch_v2 does not allow a null argument.

Change-Id: I3994737c6369e66fd1d4f0e63aa26eb7a6db6607
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 months agotizen_launch_splash_launch_v2 does not allow a null argument. 01/306801/2
SooChan Lim [Tue, 27 Feb 2024 23:28:22 +0000 (08:28 +0900)]
tizen_launch_splash_launch_v2 does not allow a null argument.

Wayland protocol does not allow the null argument of which type
is arrary anymore.

Change-Id: I8cfed0a4b32523771fba52fb1f141d7c52f4b692

3 months agoRelease version 1.69.4 69/306769/1
Hwankyu Jhun [Tue, 27 Feb 2024 10:27:11 +0000 (19:27 +0900)]
Release version 1.69.4

Changes:
 - Check app status existence before insert

Change-Id: I83dd9a5f71c5733d24aae580be1676bd47a489d7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 months agoCheck app status existence before insert 67/306767/1
Hwankyu Jhun [Tue, 27 Feb 2024 10:14:32 +0000 (19:14 +0900)]
Check app status existence before insert

Before insert the app status, amd checks whether the app status exists or not.

Change-Id: If8c79a0cad2deaff4a3e17f30fe860674c391f12
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 months agoRelease version 1.69.3 47/306547/1 accepted/tizen/unified/20240223.064458 accepted/tizen/unified/x/20240225.131821
Hwankyu Jhun [Fri, 23 Feb 2024 00:16:08 +0000 (09:16 +0900)]
Release version 1.69.3

Changes:
 - Modify incorrect instance ID settings

Change-Id: I808e46c56a2855149ddceb8b9733d6298a5afdb1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 months agoModify incorrect instance ID settings 46/306546/1
Hwankyu Jhun [Fri, 23 Feb 2024 00:06:54 +0000 (09:06 +0900)]
Modify incorrect instance ID settings

The instance ID of the app status handle must be set only when the instance ID
of the launch context is not empty.

Change-Id: I0e8d6e5565870b34c5738074df10707786026fd2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 months agoRelease version 1.69.2 93/306493/1
Hwankyu Jhun [Thu, 22 Feb 2024 05:42:01 +0000 (14:42 +0900)]
Release version 1.69.2

Changes:
 - Modify APP_NOTIFY_START handler

Change-Id: I96f564610dff3620d405d6a9c8693231399550ce
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 months agoModify APP_NOTIFY_START handler 76/306476/6
Hwankyu Jhun [Thu, 22 Feb 2024 04:32:02 +0000 (13:32 +0900)]
Modify APP_NOTIFY_START handler

when the app status information is not found, amd looks up the appid and
registers the app status  information.

Change-Id: Idf2538afd003fff8601fba1845af2572f68b52c6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 months agoRelease version 1.69.1 99/306299/1 accepted/tizen/unified/20240220.115636 accepted/tizen/unified/20240220.144640 accepted/tizen/unified/x/20240221.033415
Hwankyu Jhun [Tue, 20 Feb 2024 00:09:40 +0000 (09:09 +0900)]
Release version 1.69.1

Changes:
 - Fix the gadget path

Change-Id: I5e6b25897744e6ac1f764a322277ed394ca116c5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 months agoFix the gadget path 97/306297/1
Hwankyu Jhun [Mon, 19 Feb 2024 23:23:46 +0000 (08:23 +0900)]
Fix the gadget path

The gadget path must contain a resource type to facilitate mounting.
After this patch is applied, the gadget path will be
"/<package root path>/res/allowed/<res-type>/".

Change-Id: Iaf4681a67a85d963f2776b8b2a63326882925fae
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 months agoRelease version 1.69.0 02/305602/1 accepted/tizen/unified/20240206.094536 accepted/tizen/unified/x/20240206.211041
Hwankyu Jhun [Mon, 5 Feb 2024 09:10:00 +0000 (18:10 +0900)]
Release version 1.69.0

Changes:
 - Monitor freezer signal in the amd_suspend

Change-Id: I6111b3fa2381499331f1956bc0381117950b2bfd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 months agoMonitor freezer signal in the amd_suspend 67/305567/1
Hwankyu Jhun [Mon, 5 Feb 2024 06:35:25 +0000 (15:35 +0900)]
Monitor freezer signal in the amd_suspend

To send the thaw event to the running process, amd listens to the freezer signal.
The listening the freezer signal code is moved to the amd_suspend from
the watchdog module.

Change-Id: I2aa0e4a513e235f0869de6d98ca309b7ae019854
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 months agoRelease version 1.68.3 47/305547/1 accepted/tizen/unified/x/20240205.063713
Sangyoon Jang [Mon, 5 Feb 2024 01:52:44 +0000 (10:52 +0900)]
Release version 1.68.3

Changes:
 - Fix build error

Change-Id: I909d44aea1ce9e68239c77b124fd050e74217f26
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 months agoFix build error 43/305543/1
Sangyoon Jang [Mon, 5 Feb 2024 01:33:18 +0000 (10:33 +0900)]
Fix build error

Change-Id: Idbf0050fe75e613ecfd2b0612adf338f2b02565e
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 months agoRelease version 1.68.2 23/305323/1 accepted/tizen/unified/20240201.165051
Sangyoon Jang [Wed, 31 Jan 2024 08:42:48 +0000 (17:42 +0900)]
Release version 1.68.2

Changes:
 - Fix lib rpk mount

Change-Id: I96a29d8ae8fd433b18f95dd49e0c7009ca691f07
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 months agoFix lib rpk mount 25/305225/2
Sangyoon Jang [Tue, 30 Jan 2024 06:56:15 +0000 (15:56 +0900)]
Fix lib rpk mount

Only allowed package can use lib rpk.
A lib rpk can contains resources for lib.

Change-Id: I49e6d5ef35c58ea49402aa234e1139c8e7b44b95
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 months agoRelease version 1.68.1 41/305241/1 accepted/tizen/unified/20240131.175419
Changgyu Choi [Tue, 30 Jan 2024 08:34:29 +0000 (17:34 +0900)]
Release version 1.68.1

Changes:
 - Adjust coding style of res info
 - Remove adding resource pakcage IDs to bundle object
 - Remove unnecessary copy

Change-Id: If8e19484fe6ba86d7f938c28cbd511c2f5089a9d
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 months agoRemove unnecessary copy 59/305159/1
Changgyu Choi [Mon, 29 Jan 2024 10:26:26 +0000 (19:26 +0900)]
Remove unnecessary copy

Change-Id: I4e54daba33590709ee57e578d2bcb42000025854
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
4 months agoRemove adding resource pakcage IDs to bundle object 92/304892/3
Hwankyu Jhun [Thu, 25 Jan 2024 06:54:27 +0000 (15:54 +0900)]
Remove adding resource pakcage IDs to bundle object

Currently, NUIGadget feature uses gadget package IDs instead of
resource package IDs. The resource package IDs are not needed.
And, the gadget paths are removed from allowed paths and global paths.

Change-Id: I8856574c88ec30e3d081188c1e9dbe190c9d1461
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 months agoAdjust coding style of res info 79/304779/9
Hwankyu Jhun [Tue, 23 Jan 2024 11:54:25 +0000 (20:54 +0900)]
Adjust coding style of res info

- Separates ResControl class from res_app_info.hh file
- Adds 'const' keyword to methods
- Removes amd_res_info.cc file

Change-Id: Ie0a0216e2b8c97d47cfa5e8805d7b9a336d75ac8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 months agoRelease version 1.68.0 66/304666/1 accepted/tizen/unified/20240124.163233
Hwankyu Jhun [Tue, 23 Jan 2024 03:49:56 +0000 (12:49 +0900)]
Release version 1.68.0

Changes:
 - Refactor method to get resource package information
 - Parse values for using library resource package
 - Set gadget info to bundle object

Change-Id: I4e86038864bfeddf2d080faa65a1ea273aa57a51
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 months agoSet gadget info to bundle object 52/304552/3
Hwankyu Jhun [Fri, 19 Jan 2024 09:38:13 +0000 (18:38 +0900)]
Set gadget info to bundle object

The gadget informations are added to the bundle.
The launchpad attempts to mount with the set bundle information.

Change-Id: Ic204ed61ac0d9b7a78b27d860695c0ce1bcb7a19
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 months agoParse values for using library resource package 87/304387/15
Ilho Kim [Tue, 16 Jan 2024 10:44:16 +0000 (19:44 +0900)]
Parse values for using library resource package

Requires:
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/aul-1/+/304365

Change-Id: I824fa2a4d95ee8682ae001d572ccaffd544a99bb
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 months agoRefactor method to get resource package information 58/304358/16
Ilho Kim [Tue, 16 Jan 2024 08:52:14 +0000 (17:52 +0900)]
Refactor method to get resource package information

Change-Id: I4ff2ca8e55b220b2e6b567e36836323d216518cf
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 months agoRelease version 1.67.32 34/304334/1 accepted/tizen_unified_riscv accepted/tizen/8.0/unified/20240117.162924 accepted/tizen/unified/20240117.163228 accepted/tizen/unified/riscv/20240118.054528
Hwankyu Jhun [Tue, 16 Jan 2024 06:11:00 +0000 (15:11 +0900)]
Release version 1.67.32

Changes:
 - Modify screen resolution module

Change-Id: I09d5e46f316dbb1be866c10fae8a77a00cdbd68f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 months agoModify screen resolution module 30/304330/1
Hwankyu Jhun [Tue, 16 Jan 2024 05:35:53 +0000 (14:35 +0900)]
Modify screen resolution module

After this patch is applied, amd registers the application ID to
the display server. Currently, amd always sends the wayland request to
the display server. This patch reduces unnecessary request delivery.

Change-Id: I5abdda2648782d17df5a91cb5b128a9db238f427
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 months agoRelease version 1.67.31 80/304080/1 accepted/tizen/8.0/unified/20240110.155116 accepted/tizen/unified/20240110.154209 accepted/tizen/unified/riscv/20240111.042740
Hwankyu Jhun [Wed, 10 Jan 2024 01:25:45 +0000 (10:25 +0900)]
Release version 1.67.31

Changes:
 - Modify login monitor implementation

Change-Id: Ie0f9a1bb0b3a102b78fe27e4a29a4096f54340c4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 months agoModify login monitor implementation 47/304047/2
Hwankyu Jhun [Tue, 9 Jan 2024 10:35:22 +0000 (19:35 +0900)]
Modify login monitor implementation

The inotify watch callback function should return false if the file is matched.

Change-Id: I8c56cd45ab2583c4fee843c990c74ae21107aac8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 months agoRelease version 1.67.30 05/303905/1 accepted/tizen/8.0/unified/20240109.155429 accepted/tizen/unified/20240109.155333 accepted/tizen/unified/riscv/20240110.014453
Changgyu Choi [Mon, 8 Jan 2024 03:27:35 +0000 (12:27 +0900)]
Release version 1.67.30

Changes:
 - Add missing memory free logic

Change-Id: I9704d4cb5f8ede7629be4008701925867e53243c
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
5 months agoAdd missing memory free logic 62/303862/2
Changgyu Choi [Mon, 8 Jan 2024 01:41:18 +0000 (10:41 +0900)]
Add missing memory free logic

Change-Id: I58e12a7b928a6a9e738ef0502d43942bd5f02068
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
5 months agoRelease version 1.67.29 84/303584/1 accepted/tizen/8.0/unified/20240104.165402 accepted/tizen/unified/20240104.053201 accepted/tizen/unified/riscv/20240105.060114
Hwankyu Jhun [Tue, 2 Jan 2024 10:23:08 +0000 (19:23 +0900)]
Release version 1.67.29

Changes:
 - Mofidy APP_REGISTER_PID handler

Change-Id: Ie8b61ba301973535b73e850d48100e83747fdfd7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 months agoMofidy APP_REGISTER_PID handler 77/303577/1
Hwankyu Jhun [Tue, 2 Jan 2024 09:57:57 +0000 (18:57 +0900)]
Mofidy APP_REGISTER_PID handler

After this patch is applied, the launchpad-process-pool is able to
register the pid with the application ID.

Change-Id: Ia4abd0dc7b1ad4e179573d22e69251d5dcb3e730
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 months agoRelease version 1.67.28 73/303573/1 accepted/tizen/8.0/unified/20240103.162258 accepted/tizen/unified/20240103.164015
Hwankyu Jhun [Tue, 2 Jan 2024 08:15:01 +0000 (17:15 +0900)]
Release version 1.67.28

Changes:
 - Modify starting time of apps
 - Modify login monitor initialization

Change-Id: I423457203a5979408a4695770e17415c76f3ae40
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 months agoModify login monitor initialization 57/303557/1
Hwankyu Jhun [Tue, 2 Jan 2024 06:27:04 +0000 (15:27 +0900)]
Modify login monitor initialization

After this patch is applied, amd checks whether the /run/systemd path
exists or not. If it does not exist, amd monitors file creation for
waiting until the directory is created.
When the /run/systemd/users is ready or created, amd starts
the sd_login_monitor initialization.

Change-Id: I7943661129669a15eb8b075018ce9015c1f1fa11
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 months agoModify starting time of apps 08/303508/1
Hwankyu Jhun [Fri, 29 Dec 2023 03:20:55 +0000 (12:20 +0900)]
Modify starting time of apps

To send a launch request to the launchpad-process-pool properly, amd
should start the boot sequence feature when the state of user session is
'online' or 'active'.

Change-Id: I033f0086027276b3797569cbe40bc672390db587
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 months agoRelease version 1.67.27 70/303470/1 accepted/tizen/8.0/unified/20231228.170225 accepted/tizen/unified/20240101.155307 accepted/tizen/unified/riscv/20240103.054546
Hwankyu Jhun [Thu, 28 Dec 2023 06:37:19 +0000 (15:37 +0900)]
Release version 1.67.27

Changes:
 - Set socket option for rpc port

Change-Id: I20789e39cf562519667e47c2ae395868180bc233
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 months agoSet socket option for rpc port 67/303467/1
Hwankyu Jhun [Thu, 28 Dec 2023 06:10:54 +0000 (15:10 +0900)]
Set socket option for rpc port

The SOCK_NONBLOCK option is set for server socket.

Change-Id: Ia6bf43ac4aeeba02a47115a793c01e5b036907c7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 months agoRelease version 1.67.26 21/303321/1 accepted/tizen/8.0/unified/20231226.175905 accepted/tizen/unified/20231226.154424 accepted/tizen/unified/20231226.180056 accepted/tizen/unified/riscv/20231227.041949
Hwankyu Jhun [Tue, 26 Dec 2023 00:44:27 +0000 (09:44 +0900)]
Release version 1.67.26

Changes:
 - Consider app com broker

Change-Id: I476e0e2c145f4707937911a6fce0e2569ddd3c95
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 months agoConsider app com broker 20/303320/1
Hwankyu Jhun [Mon, 25 Dec 2023 22:51:07 +0000 (07:51 +0900)]
Consider app com broker

AMD receives the raw data that is 8 bytes from applications.
The app com broker should consider receiving the modified raw data.

Change-Id: I79f60b41ccebfa809a41b8ce2776943811055302
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 months agoRelease version 1.67.25 55/303255/1
Hwankyu Jhun [Fri, 22 Dec 2023 06:46:01 +0000 (15:46 +0900)]
Release version 1.67.25

Changes:
 - Modify app request broker implementation

Change-Id: I2b26b744b8b856b357ad4f2a1039dbe23610c9d0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 months agoModify app request broker implementation 53/303253/1
Hwankyu Jhun [Fri, 22 Dec 2023 06:40:39 +0000 (15:40 +0900)]
Modify app request broker implementation

- Use AUL_K_REQUEST_ID instead of AUL_K_SEQ_NUM

Change-Id: I57645f2b4315ad9963620b0ead4ac0066ac11611
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 months agoRelease version 1.67.24 34/303234/1
Hwankyu Jhun [Fri, 22 Dec 2023 03:36:39 +0000 (12:36 +0900)]
Release version 1.67.24

Changes:
 - Modify app request broker

Change-Id: Ideb6ab81846d48f4e503a11c313689bd91d1cb05
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 months agoModify app request broker 29/303229/2
Hwankyu Jhun [Fri, 22 Dec 2023 02:00:31 +0000 (11:00 +0900)]
Modify app request broker

When senting the request to the running application, amd includes and delivers
a sequence number. The client(running application) will send a reply
with the sequence number. AMD handles the result cb information using
the sequence number.

Change-Id: Iaa98474b8bfac7ce545e9cd033faad118e379d8a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 months agoRelease version 1.67.23 99/302799/1 accepted/tizen/8.0/unified/20231214.164518 accepted/tizen/unified/20231214.164955 accepted/tizen/unified/riscv/20231226.210816
Hwankyu Jhun [Thu, 14 Dec 2023 01:00:31 +0000 (10:00 +0900)]
Release version 1.67.23

Changes:
 - Reset retrying count while getting kick request

Change-Id: I42f252004aec985b43dbff568742149a0f3fa0b1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 months agoReset retrying count while getting kick request 98/302798/2
Hwankyu Jhun [Thu, 14 Dec 2023 00:42:59 +0000 (09:42 +0900)]
Reset retrying count while getting kick request

When getting the kick request from the application, amd resets
the retry_count value to 0.

Change-Id: I6d71c09965eb67c30a5d40b293dbf883a3adb233
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 months agoRelease version 1.67.22 82/302782/1
Hwankyu Jhun [Wed, 13 Dec 2023 10:48:00 +0000 (19:48 +0900)]
Release version 1.67.22

Changes:
 - Check app status before sending a request
 - Fix crash issue

Change-Id: Ie6758076b838c89f18bbbf4c20c001e26da1c126
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 months agoFix crash issue 81/302781/1
Hwankyu Jhun [Wed, 13 Dec 2023 10:42:05 +0000 (19:42 +0900)]
Fix crash issue

If the byte is empty, calling std::copy() makes a crash issue.

Change-Id: Ia786bb045159a9cf81d45d5d463a5bd4ff58ff86
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 months agoCheck app status before sending a request 75/302775/3
Hwankyu Jhun [Wed, 13 Dec 2023 09:19:42 +0000 (18:19 +0900)]
Check app status before sending a request

Before sending a request(APP_RESUME_BY_PID or APP_PAUSE_BY_PID) to the running
application, amd checks whether the app status is dying or not.
If it's STATUS_DYING, amd does not send the request. In this case, the caller
process will get the error from amd.

Change-Id: I860aee5301688843a03d6cf2f33edd8301bb0fcb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 months agoRelease version 1.67.21 44/302744/1
Hwankyu Jhun [Wed, 13 Dec 2023 04:46:59 +0000 (13:46 +0900)]
Release version 1.67.21

Changes:
 - Adjust coding style
 - Fix an incorrect display lock state

Change-Id: I897d37907da9364d499d2b7454c8771b148b4b6b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 months agoFix an incorrect display lock state 43/302743/1
Hwankyu Jhun [Wed, 13 Dec 2023 04:40:53 +0000 (13:40 +0900)]
Fix an incorrect display lock state

When calling Unlock within the timer callback, the timer value was not
initialized to 0. This causes the following issue where the lock remains locked
after being unlocked.
If there is no app using the boot sequence, display lock is not called.

Change-Id: Ia53e4aa5fd5e69f507285895ebd647e732328ee3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 months agoAdjust coding style 40/302740/1
Hwankyu Jhun [Wed, 13 Dec 2023 04:07:28 +0000 (13:07 +0900)]
Adjust coding style

- Add a space before comparison operator

Change-Id: Ibbd68def6154346e070053c6e25953efacc09143
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 months agoRelease version 1.67.20 53/302153/1 accepted/tizen/8.0/unified/20231204.174216 accepted/tizen/unified/20231205.024705 accepted/tizen/unified/riscv/20231211.234046
Hwankyu Jhun [Fri, 1 Dec 2023 07:08:47 +0000 (16:08 +0900)]
Release version 1.67.20

Changes:
 - Modify boot manager

Change-Id: Icf5b22607b7b0222393fdcc32cb4725f7ff533f0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 months agoModify boot manager 16/302116/7
Hwankyu Jhun [Thu, 30 Nov 2023 10:44:55 +0000 (19:44 +0900)]
Modify boot manager

The following changes are made to onboot option of amd:
- Apps with onboot set are launched by the boot manager.
- Only apps with boot-sequence set are managed by the boot sequencer.
- Onboot apps will run as before when a package is installed.
- Apps with boot-sequence set will not run until a reboot occurs even if
the package is installed.

Change-Id: I35589a7195043251efb69157b178139e6d62319b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 months agoRelease version 1.67.19 90/302090/1 accepted/tizen/8.0/unified/20231130.180812 accepted/tizen/unified/20231130.180935
Hwankyu Jhun [Thu, 30 Nov 2023 06:59:00 +0000 (15:59 +0900)]
Release version 1.67.19

Changes:
 - Fix a bug about restarting apps

Change-Id: I703dc61c13c29710bc8f01eda657ace71ab03494
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 months agoFix a bug about restarting apps 46/302046/2
Hwankyu Jhun [Thu, 30 Nov 2023 04:29:51 +0000 (13:29 +0900)]
Fix a bug about restarting apps

After updating the package, the application was not restarted by amd.
Because, if the application has the on-boot="true" option in
the tizen-manifest.xm, amd does not check whether the application is
able to restart or not.
If the api-version is greater than 7, amd must check whether the application
should be restarted or not.
This patch checks the api version to restart apps.

Change-Id: Ibfe8245782cd5b0d5b6dc3bd7eda3363379c85b7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 months agoRelease version 1.67.18 35/302035/1
Changgyu Choi [Thu, 30 Nov 2023 02:09:51 +0000 (11:09 +0900)]
Release version 1.67.18

Changes:
 - Adjust coding style of AppLifecycle
 - Fix sort condition

Change-Id: I7ee74de54896f034dc0ca97b1f52146fac626151
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
6 months agoFix sort condition 33/302033/2
Changgyu Choi [Thu, 30 Nov 2023 01:48:17 +0000 (10:48 +0900)]
Fix sort condition

Change-Id: Ia31f79cf645d9acae6c5f300b45ec8140a1bcd4a
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
6 months agoAdjust coding style of AppLifecycle 02/301802/1
Hwankyu Jhun [Thu, 23 Nov 2023 07:23:00 +0000 (16:23 +0900)]
Adjust coding style of AppLifecycle

- Changes function names by using capital letters
- Improves readability by complementing log messages.

Change-Id: I290f86f11bcb5d62d7736c3a173b15943fcd7ab2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 months agoRelease version 1.67.17 87/301787/1 accepted/tizen/8.0/unified/20231123.173033 accepted/tizen/unified/20231123.124508
Hwankyu Jhun [Thu, 23 Nov 2023 00:02:57 +0000 (09:02 +0900)]
Release version 1.67.17

Changes:
 - Fix duplicate execution problem

Change-Id: Idd86715e65120ca6f21fce561627a91ffc8759ba
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 months agoFix duplicate execution problem 86/301786/1
Hwankyu Jhun [Wed, 22 Nov 2023 23:28:53 +0000 (08:28 +0900)]
Fix duplicate execution problem

When a new app is launched by receiving a request to execute it,
if the onboot feature is activated, the app process is duplicated.
This problem occurs because the CheckStatus() method does not properly handle
the confirmation of pending items.
The problem is fixed by modifying the socket option.

Change-Id: Icc4478766a25fdf34073dd331dc878478c577b58
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 months agoRelease version 1.67.16 19/301619/1 accepted/tizen/8.0/unified/20231121.180439 accepted/tizen/unified/20231122.172535
Hwankyu Jhun [Mon, 20 Nov 2023 23:51:55 +0000 (08:51 +0900)]
Release version 1.67.16

Changes:
 - Remove sending SIGABRT signal

Change-Id: I0e0df944f39c919b1cf9279454426f6fb80b0e24
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 months agoRemove sending SIGABRT signal 18/301618/2
Hwankyu Jhun [Mon, 20 Nov 2023 23:27:47 +0000 (08:27 +0900)]
Remove sending SIGABRT signal

On certain devices, the app process may be blocked because it
does not receive CPU resource allocation.
We remove the operation of sending SIGABRT from amd
and monitor whether the app calls the app_main function.

Change-Id: Id3d0632919226123c6ff7e98adb239ed3dd73517
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 months agoRelease version 1.67.15 54/301554/1 accepted/tizen/unified/20231121.102912
Changgyu Choi [Mon, 20 Nov 2023 03:51:32 +0000 (12:51 +0900)]
Release version 1.67.15

Changes:
 - Revert "Remove setting the IsStart flag when receiving a startup signal"

Change-Id: I8439f92e2888301594da855979b313bf3d6cf2ca
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
6 months agoRevert "Remove setting the IsStart flag when receiving a startup signal" 43/301543/1
Changgyu Choi [Mon, 20 Nov 2023 01:57:41 +0000 (10:57 +0900)]
Revert "Remove setting the IsStart flag when receiving a startup signal"

This reverts commit 89867461c651321e129d088eae77faaf21fa2b81.

Change-Id: If74f63ef0f1001b4186f49b12eb425227db355a5
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
6 months agoRelease version 1.67.14 54/301354/1 accepted/tizen/8.0/unified/20231116.175413 accepted/tizen/unified/20231116.101851
Hwankyu Jhun [Wed, 15 Nov 2023 01:40:44 +0000 (10:40 +0900)]
Release version 1.67.14

Changes:
 - Remove setting the IsStart flag when receiving a startup signal

Change-Id: Ia90d620e91050d4ea5f62e0aecd3d478083e317b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 months agoRemove setting the IsStart flag when receiving a startup signal 89/301089/4
Changgyu Choi [Wed, 8 Nov 2023 07:21:08 +0000 (16:21 +0900)]
Remove setting the IsStart flag when receiving a startup signal

Rarely, after the launchpad sends a startup signal, it may be blocked
for a long time during the app execution process.
In this case, the process remains zombie for a long time.
This patch is for these ceses.

Change-Id: Ic7d884a0a2a785c3a8c5c10c3f17edd7eff746b1
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
6 months agoRelease version 1.67.13 98/301298/1 accepted/tizen/unified/20231115.024841
Hwankyu Jhun [Tue, 14 Nov 2023 00:46:56 +0000 (09:46 +0900)]
Release version 1.67.13

Changes:
 - Change the method used in the compare function
 - Add missing exception handling
 - [Watchdog] Send the watchdog activation signal

Change-Id: I1801166efb6fb7ac883044a8f20dd1f4b773b855
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>