platform/core/appfw/amd.git
3 years agoSet real appid before checking app status 05/266605/2
Hwankyu Jhun [Tue, 16 Nov 2021 06:39:09 +0000 (15:39 +0900)]
Set real appid before checking app status

To check the app status properly, AMD has to check whether the
application ID is the alias ID or not. Some caller processes want to
send the launch request with the alias app ID to the running application.

Change-Id: I31781c7a0c8d2aedbc1d528e9b31a0b44faba0e3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.44.10 86/266586/1 accepted/tizen/6.5/unified/20211117.024323 accepted/tizen/unified/20211117.130407 submit/tizen/20211115.233417 submit/tizen_6.5/20211115.233435
Hwankyu Jhun [Mon, 15 Nov 2021 23:30:51 +0000 (08:30 +0900)]
Release version 1.44.10

Changes:
 - Fix fake launch app async

Change-Id: I76e04ef788676a4fbbea036d1520c5958fbea4da
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix fake launch app async 85/266585/1
Hwankyu Jhun [Mon, 15 Nov 2021 23:21:15 +0000 (08:21 +0900)]
Fix fake launch app async

If sending the request is successful, the __fake_launch_app_async()
function has to return the process ID. After sending the launch request,
AMD saves the process information on the pending list until the socket
of the launched application is ready.

Change-Id: I606ce5b59caa2ed01a2229433bd8703a21855cad
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.44.9 38/266538/1 accepted/tizen/6.5/unified/20211116.032737 accepted/tizen/unified/20211116.130508 submit/tizen/20211115.064922 submit/tizen_6.5/20211115.065001
Hwankyu Jhun [Mon, 15 Nov 2021 06:20:56 +0000 (15:20 +0900)]
Release version 1.44.9

Changes:
 - Use connected socket fd
 - Fix wrong exception handling of async request

Change-Id: I261406f626e061be53fb3bf10c854c4ef0ecb49b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix wrong exception handling of async request 23/266523/2
Hwankyu Jhun [Mon, 15 Nov 2021 02:12:14 +0000 (11:12 +0900)]
Fix wrong exception handling of async request

If the return value of the __send_app_request() function is zero,
AMD should send the result to the caller with the process ID.

Change-Id: Iab0eada715555c2a47474d05ee6acbea0fddafa4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoUse connected socket fd 21/266421/3
Hwankyu Jhun [Fri, 12 Nov 2021 04:44:26 +0000 (13:44 +0900)]
Use connected socket fd

Currently, AMD creates a new socket fd and sends the request to the
running application. After this patch is applied, AMD will uses
the connected socket fd to send the request.

Change-Id: I5835892aefa522a38bcaba20bce95120db339d46
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.44.8 10/266410/1 accepted/tizen/6.5/unified/20211112.053752 accepted/tizen/unified/20211112.135607 submit/tizen/20211112.000529 submit/tizen_6.5/20211112.000556
Hwankyu Jhun [Thu, 11 Nov 2021 23:57:45 +0000 (08:57 +0900)]
Release version 1.44.8

Changes:
 - Revert "Check socket status"
 - Use MSG_DONTWAIT flag

Change-Id: Ifdbeef27ffb73a9a9c3d4e64c93952fb1d36e671
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoUse MSG_DONTWAIT flag 08/266408/3
Hwankyu Jhun [Thu, 11 Nov 2021 15:41:23 +0000 (00:41 +0900)]
Use MSG_DONTWAIT flag

This patch uses MSG_DONTWAIT flag instead of socket existence check.
If calling the send() function returns an error with the errno value
that is EAGAIN or EWOULDBLOCK, the method will call the sleep() and try
to send the data again.
The interval is 2ms. The maximum retry count is 10.
If the retry count exceeds 10 times, AMD will close the file descriptor
to disconnect the connection. When handling the disconnected event,
AMD doesn't invoke the disconnected event callback function if the
client socket is closed. It means the connection is closed by AMD forcedly.

Change-Id: I8217d889506d82418c271d79491817634b33e32d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRevert "Check socket status" 06/266406/1
Hwankyu Jhun [Thu, 11 Nov 2021 14:54:17 +0000 (23:54 +0900)]
Revert "Check socket status"

This reverts commit adb4e834ee2313f2049ca260da01e6c93d5c2fce.

Change-Id: I4c292b0ebe69c50c0611bb5aa56d3cfe9226b3dd

3 years agoRelease version 1.44.7 75/266375/1 submit/tizen/20211111.065648 submit/tizen_6.5/20211111.065740
Hwankyu Jhun [Thu, 11 Nov 2021 06:55:15 +0000 (15:55 +0900)]
Release version 1.44.7

Changes:
 - Check socket status

Change-Id: I2360acdc9d9cab4414c9b3a8dc0982b654a5be29
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoCheck socket status 61/266361/4
Hwankyu Jhun [Thu, 11 Nov 2021 03:54:14 +0000 (12:54 +0900)]
Check socket status

When handling the request that is app registration, AMD checks whether
the socket is listening or not. If the socket is listening, AMD will set
the 'true' to the socket_exists flag of the app status handle.

Requires:
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/launchpad/+/266359/
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/aul-1/+/266360/
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/amd/+/266361/

Change-Id: I5bbc23aad20ee987c7d637e287810c40a2d3ae71
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.44.6 24/266224/1 accepted/tizen/6.5/unified/20211111.224655 accepted/tizen/unified/20211110.122329 submit/tizen/20211109.083725 submit/tizen_6.5/20211110.070007
Hwankyu Jhun [Tue, 9 Nov 2021 08:13:00 +0000 (17:13 +0900)]
Release version 1.44.6

Changes:
 - Fix a bug about socket exsitence check

Change-Id: I7c6fb07a0e86cb6a51abf955c6726226e7a0b758
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix a bug about socket exsitence check 23/266223/1
Hwankyu Jhun [Tue, 9 Nov 2021 08:06:27 +0000 (17:06 +0900)]
Fix a bug about socket exsitence check

When getting app startup signal from a child process of launchpad, AMD
tries to connect to the app socket. When calling the aul_initialize() function,
the application sends the APP_NOTIFY_START request to AMD.
While handling the APP_NOTIFY_START command, AMD sets the flag that is
socket_exists of the app status handle.
After this patch is applied, AMD checks whether the socket exists or not
before sending the app request to the application.

Change-Id: I6974e8684f6b5fec3adc0e4fcd63ec4946f14866
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.44.5 68/266168/1 submit/tizen/20211109.010519
Hwankyu Jhun [Mon, 8 Nov 2021 23:56:55 +0000 (08:56 +0900)]
Release version 1.44.5

Changes:
 - Check socket existence

Change-Id: I758e3247af4b01e60c15344011588828c19079e1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoCheck socket existence 67/266167/1
Hwankyu Jhun [Mon, 8 Nov 2021 22:46:15 +0000 (07:46 +0900)]
Check socket existence

If the client channel doesn't exist, AMD checks whether the socket
exists or not before connecting to the app socket.

Change-Id: Ife67257302f85bcad3324b889f010328aebfcf75
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.44.4 32/266032/1 accepted/tizen/6.5/unified/20211109.041656 accepted/tizen/unified/20211109.042831 submit/tizen/20211104.074108 submit/tizen/20211104.225435 submit/tizen/20211105.011855 submit/tizen/20211107.232151 submit/tizen_6.5/20211105.053806
Hwankyu Jhun [Thu, 4 Nov 2021 07:23:11 +0000 (16:23 +0900)]
Release version 1.44.4

Changes:
 - Move app dead handler to app status

Change-Id: I020bb48ae808ba193dd5d4124c94dee92bc24773
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoMove app dead handler to app status 18/266018/3
Hwankyu Jhun [Thu, 4 Nov 2021 05:50:48 +0000 (14:50 +0900)]
Move app dead handler to app status

The pid number is not always increased sequentially.
Currently, the __dead_timeout_handler() function calls
the __app_dead_handler() function to clean up the app status.
If the process ID is reused after the application is terminated,
the __dead_timeout_handler() function will be operated incorrectly.
To handle the socket disconnected event properly, the timer is managed
by the app status handle. When releasing the app status handle,
the timer of the __dead_timeout_handler() function will be removed.

Change-Id: Ie45601948b8dc975c343db9d77f297005df35fe0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.44.3 75/265975/1 accepted/tizen/unified/20211104.123517 submit/tizen/20211103.040120
Hwankyu Jhun [Wed, 3 Nov 2021 03:58:37 +0000 (12:58 +0900)]
Release version 1.44.3

Changes:
 - Do not close fd of AUL connection

Change-Id: I810753928bb75fc1030ea0b358617259b0ae5027
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoDo not close fd of AUL connection 18/265818/8
Hwankyu Jhun [Fri, 29 Oct 2021 06:46:40 +0000 (15:46 +0900)]
Do not close fd of AUL connection

After this patch is applied, AMD doesn't close the file descriptor of
the AUL connection. When the connection is disconnected, AMD notifies
that the process is terminated. In this time, AMD handles the
application termination if the process is the application.

Requires:
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/aul-1/+/265335/
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/amd/+/265818/
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/launchpad/+/265825/

Change-Id: I03feebb44dc19fb85fd67d9898c289a5a52f6cce
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.44.2 20/265620/1 accepted/tizen/unified/20211101.140305 submit/tizen/20211028.054746 submit/tizen/20211028.063318 submit/tizen/20211101.102058
Hwankyu Jhun [Mon, 25 Oct 2021 10:03:29 +0000 (19:03 +0900)]
Release version 1.44.2

Changes:
 - Fix a bug about app property

Change-Id: I5f479b22936364922f2925352a988713b0358497
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix a bug about app property 19/265619/1
Hwankyu Jhun [Mon, 25 Oct 2021 09:52:30 +0000 (18:52 +0900)]
Fix a bug about app property

The app property handle has to be added when the user login event occurs.
Currently, the app property is not added if the database is deleted or corrupted.

Change-Id: Ifa088495832d7248876253cc73b72a2862b70f43
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.44.1 97/265597/1
Hwankyu Jhun [Mon, 25 Oct 2021 01:02:06 +0000 (10:02 +0900)]
Release version 1.44.1

Changes:
 - Fix AppComBroker::Send() method
 - Fix a bug about sending app event
 - Remove unnecessary method call
 - Reduce db access
 - Add pkgmgr-info-server dependency
 - Fix a bug about loading app property

Change-Id: Iefffdf6198712b757c8446d7fae6299806ada621
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix a bug about loading app property 96/265596/1
Hwankyu Jhun [Mon, 25 Oct 2021 00:38:17 +0000 (09:38 +0900)]
Fix a bug about loading app property

When calling the _app_property_load() function twice, the metadata
information are dropped. This patch prevents to remove the loaded
information from the app property handle.

Change-Id: Id61cdeefe5938ba8ce447b5b055b6f0f60cf9a6c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoAdd pkgmgr-info-server dependency 97/265497/4
Hwankyu Jhun [Thu, 21 Oct 2021 00:25:54 +0000 (09:25 +0900)]
Add pkgmgr-info-server dependency

When the pkgmgr-info-server is not ready, the process accesses to
the pkgmgr_parser.db directly. In this time, the pkgmgr-info-server.so is loaded
using dlopen(). To improve initialization performance, AMD uses
the pkgmgr-info-server for compilation.

Requires:
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/pkgmgr-info/+/265496/

Change-Id: Ifbed5c47cdbfda9868d1431cd7d5052f24386a4f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoReduce db access 14/265514/2
Hwankyu Jhun [Thu, 21 Oct 2021 07:54:34 +0000 (16:54 +0900)]
Reduce db access

To improve initialization performance, this patch reduces to access to
the pkgmgr db. Before loading all applications information, AMD creates
the app property handle of the user. After this patch is applied, AMD
does not load the metadata information while calling _app_property_load().
The metadata will be inserted when a new appinfo is inserted automatically
at the initialization time.

Change-Id: I48917276ff870b2b98591780d0b13e9825cf6d67
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRemove unnecessary method call 18/265518/1
Hwankyu Jhun [Thu, 21 Oct 2021 08:43:04 +0000 (17:43 +0900)]
Remove unnecessary method call

Currently, AMD uses vconf to check whether the boot is finished or not.
Getting the booting status from the systemd is not needed.
This patch removes unnecessay method call.

Change-Id: I8a3d4b0e6312a6a82efa0fe5ff2d9f830f86b0ba
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix a bug about sending app event 20/265020/1
Hwankyu Jhun [Thu, 7 Oct 2021 06:54:16 +0000 (15:54 +0900)]
Fix a bug about sending app event

If the launch request is delivered before getting the dead signal from
Launchpad, AMD doesn't send the 'app_status_event' event. Because, AMD
removes the app status handle while handling the launch request.
This patch moves calling _app_status_publish_status() function  to
_app_status_cleanup() function.

Before getting a dead signal from Launchpad, AMD doesn't send the
'app_status_event' event

Change-Id: I6cf64521d2dda6d0d8e0f47fb0fd448796593429
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix AppComBroker::Send() method 08/265008/1
Hwankyu Jhun [Thu, 7 Oct 2021 01:43:37 +0000 (10:43 +0900)]
Fix AppComBroker::Send() method

This patch adds the sender uid check for system users.
If the uid is less than minimum regular uid, AMD doesn't check
whether the uid is equal to the sender uid or not.

Change-Id: I9193c3429d216b323b9983cb76dfff7ed5d2e280
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.44.0 40/264740/1 accepted/tizen/6.5/unified/20211028.095130 accepted/tizen/unified/20211001.001329 submit/tizen/20210929.102735 submit/tizen_6.5/20211028.162101 tizen_6.5.m2_release
Hwankyu Jhun [Wed, 29 Sep 2021 05:02:12 +0000 (14:02 +0900)]
Release version 1.44.0

Changes:
 - Add amd-mod-proc-group module for managing process group

Change-Id: I58de740a35ee48ed80880f57958711c6ef0f989a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoAdd amd-mod-proc-group module for managing process group 03/264703/5
Hwankyu Jhun [Tue, 28 Sep 2021 10:13:31 +0000 (19:13 +0900)]
Add amd-mod-proc-group module for managing process group

This patch is for managing the oom score of the child process of the
application. When getting the process group addition request, AMD sends
the app group signal to resourced. If the oom score of the app process
is changed, the oom score of the child process of the app process is
also changed.

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

Change-Id: Ic7083b88ab78073d394827303eeec5305b678d4d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.43.2 66/264166/1 accepted/tizen/unified/20210915.001802 submit/tizen/20210914.041930
Changgyu Choi [Tue, 14 Sep 2021 04:16:46 +0000 (13:16 +0900)]
Release version 1.43.2

Changes:
 - Refactor amd_direct_launch

Change-Id: I306fcefc54ddd050dde913956f4eba07bb965679
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoRefactor amd_direct_launch 57/264157/3
Changgyu Choi [Tue, 14 Sep 2021 02:27:54 +0000 (11:27 +0900)]
Refactor amd_direct_launch

Changes:
 - Changes to C++
 - Changes listening msg to LAUNCH_DO_STARTING_APP_START

Change-Id: I7bee6e8c9213d38c8581f15e2fa3c77c031a0189
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoRelease version 1.43.1 65/263865/1 accepted/tizen/unified/20210914.084937 submit/tizen/20210913.042525
Hwankyu Jhun [Mon, 13 Sep 2021 04:13:55 +0000 (13:13 +0900)]
Release version 1.43.1

Changes:
 - Fix typo in header guard
 - Add a configuration file for resource vip-process

Change-Id: Ia74336eadc5f387961ed8d8916607406398c9065
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoMerge "Add a configuration file for resource vip-process" into tizen
HwanKyu Jhun [Mon, 13 Sep 2021 04:13:41 +0000 (04:13 +0000)]
Merge "Add a configuration file for resource vip-process" into tizen

3 years agoAdd a configuration file for resource vip-process 62/263862/4
Hwankyu Jhun [Mon, 13 Sep 2021 02:12:20 +0000 (11:12 +0900)]
Add a configuration file for resource vip-process

The amd.vip.conf file is added. And, the file will be installed to the
/etc/resourced/vip-process.d directory.
When amd is terminated abnormally, the resourced will reboot the device forcedly.

Change-Id: I69448473a80ede521ffb7de2e2b7ad388013f929
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix typo in header guard 47/263747/1
Slava Barinov [Thu, 9 Sep 2021 08:00:03 +0000 (11:00 +0300)]
Fix typo in header guard

Change-Id: I8cfcce21f14a1d7d9cdddf3e329c62a6494e54a1
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
3 years agoRelease version 1.43.0 22/263722/1 accepted/tizen/unified/20210910.004752 submit/tizen/20210909.012745
Hwankyu Jhun [Thu, 9 Sep 2021 01:18:59 +0000 (10:18 +0900)]
Release version 1.43.0

Changes:
 - Support window event

Change-Id: Iaae793f2b59a4bdd27719ef07399971883b7d2c9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoSupport window event 94/263694/3
Hwankyu Jhun [Wed, 8 Sep 2021 07:49:13 +0000 (16:49 +0900)]
Support window event

When the window of the application is appeared, AMD emits an event
signal.

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

Change-Id: I48d47f91262491d651128441b60d1b1dedf6e037
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.42.1 52/263352/2 accepted/tizen/unified/20210902.131333 submit/tizen/20210901.091219
Changgyu Choi [Wed, 1 Sep 2021 04:26:39 +0000 (13:26 +0900)]
Release version 1.42.1

Changes:
 - Fix svace static issues

Change-Id: I9c286834385f3d5f63adc37961ecf4ea98fdcb7d
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoFix svace static issues 47/263347/1
Changgyu Choi [Wed, 1 Sep 2021 03:17:58 +0000 (12:17 +0900)]
Fix svace static issues

Change-Id: Ie2573213d510129dc4485bcfd666e84d5a8a6799
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoRelease version 1.42.0 20/263120/1 accepted/tizen/unified/20210827.045719 submit/tizen/20210826.084918
Hwankyu Jhun [Thu, 26 Aug 2021 08:47:32 +0000 (17:47 +0900)]
Release version 1.42.0

Changes:
 - [ui-core] Support adjusting the position of the window

Change-Id: Ic2174fb78a981d00d9562ce17d68aecf252e35ad
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years ago[ui-core] Support adjusting the position of the window 88/262588/2
Hwankyu Jhun [Fri, 13 Aug 2021 11:56:26 +0000 (20:56 +0900)]
[ui-core] Support adjusting the position of the window

Change-Id: I85d76260dddd0c9d3abfbd03234810ef02378e97
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.41.2 25/263025/1 accepted/tizen/unified/20210826.024545 submit/tizen/20210825.003422 submit/tizen/20210825.040821
Hwankyu Jhun [Wed, 25 Aug 2021 00:33:18 +0000 (09:33 +0900)]
Release version 1.41.2

Changes:
 - Fix getting application ID

Change-Id: I8811d7afea123528df8be21d98148a2abee7b58c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix getting application ID 24/263024/3
Hwankyu Jhun [Tue, 24 Aug 2021 23:35:05 +0000 (08:35 +0900)]
Fix getting application ID

This patch is for robot profile. If getting the application ID is failed,
AMD tries to get the process name by the process ID.

Change-Id: I6cf5ed8dc3ecd6b8015389cd6123bd610368bf90
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.41.1 64/262564/1 accepted/tizen/unified/20210817.123201 submit/tizen/20210813.083857 submit/tizen/20210816.220754
Hwankyu Jhun [Fri, 13 Aug 2021 08:11:25 +0000 (17:11 +0900)]
Release version 1.41.1

Changes:
 - [ui-core] Add window group

Change-Id: Ie8cbc94cfd13e9c125e64870516e39bd56d2fd09
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years ago[ui-core] Add window group 06/262506/2
Hwankyu Jhun [Thu, 12 Aug 2021 07:46:55 +0000 (16:46 +0900)]
[ui-core] Add window group

If the window is already attached to the parent window, the request
will be ignored.

Change-Id: If38d02b760402f04ce0d2449a0902f6f2f233fe4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.41.0 33/261733/1 accepted/tizen/unified/20210726.135507 submit/dev/20210723.090104 submit/tizen/20210723.090533
Changgyu Choi [Fri, 23 Jul 2021 08:57:27 +0000 (17:57 +0900)]
Release version 1.41.0

Changes:
 - [rpc-port] Add noti PROC_REMOVE_PROC_INFO

Change-Id: I4a5b4aa870c4f876a6e3e1499d8fa1ba539b50af
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years ago[rpc-port] Add noti PROC_REMOVE_PROC_INFO 72/261572/7
Changgyu Choi [Wed, 21 Jul 2021 08:58:28 +0000 (17:58 +0900)]
[rpc-port] Add noti PROC_REMOVE_PROC_INFO

If the process info registered by rpc-port API is removed,
rpc-port module is listening the noti, and removes the ports.

Change-Id: Id0613b6d71f7430ace25e325ce2c22eaa85aca99
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
3 years agoRelease version 1.40.0 57/261557/1 accepted/tizen/unified/20210722.124929 submit/tizen/20210721.064629
Hwankyu Jhun [Wed, 21 Jul 2021 06:34:48 +0000 (15:34 +0900)]
Release version 1.40.0

Changes:
 - Support transient for below feature
 - [rpc-port] Fix port creation

Change-Id: Ia071adf1c7376dd2ce0842af53b82968486de141
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years ago[rpc-port] Fix port creation 46/261546/4
Hwankyu Jhun [Wed, 21 Jul 2021 04:24:47 +0000 (13:24 +0900)]
[rpc-port] Fix port creation

While getting the port creation request, AMD removes the existed port
first. And, AMD finds the port info. If the port exists, AMD sends the
result with a negative error value.

Change-Id: If7cc9e4d29181efd4036c51eb4b26a4db7e57106
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoSupport transient for below feature 32/261432/2
Hwankyu Jhun [Mon, 19 Jul 2021 02:36:06 +0000 (11:36 +0900)]
Support transient for below feature

From tizen policy 9 version, the tizen_policy_set_transient_for_below() function
is added. We support a new function to handle the request about that.
While getting APP_WINDOW_ATTACH_BELOW request, AMD handles the request
using the tizen_policy_set_transient_for_below() function.

Change-Id: I6fba5e344683bc1e001bebd02f24f6387a2ac969
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.39.0 22/261122/1 accepted/tizen/unified/20210713.124149 submit/tizen/20210712.081524
Hwankyu Jhun [Mon, 12 Jul 2021 07:59:19 +0000 (16:59 +0900)]
Release version 1.39.0

Changes:
 - Support socket creation for RPC Port
 - [rpc-port] Support Daemon Stub

Change-Id: Ib61baca8f82169b11812f1fb1cde6291e598f2b9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years ago[rpc-port] Support Daemon Stub 81/260681/7
Hwankyu Jhun [Thu, 1 Jul 2021 03:21:50 +0000 (12:21 +0900)]
[rpc-port] Support Daemon Stub

When amd_appinfo_find() is failed, AMD tries to get the process ID using
amd_proc_get_pid() with the application ID. If the function returns the
process ID properly, the application ID is the name of the process.
In this case, AMD sends the result with the process ID that is the
result of amd_proc_get_pid().

Change-Id: I93a7fa2609ce40c1a50f6405c4c8e99dc4884373
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoMerge "Support socket creation for RPC Port" into tizen
HwanKyu Jhun [Mon, 12 Jul 2021 05:41:22 +0000 (05:41 +0000)]
Merge "Support socket creation for RPC Port" into tizen

3 years agoRelease version 1.38.2 51/261051/1 accepted/tizen/unified/20210712.025032 submit/tizen/20210709.063928
Hwankyu Jhun [Fri, 9 Jul 2021 05:50:54 +0000 (14:50 +0900)]
Release version 1.38.2

Changes:
 - Fix wrong implementation

Change-Id: Ia0875b9cc8778cead900b94a2706607ce8e290c4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoSupport socket creation for RPC Port 71/259971/21
Hwankyu Jhun [Thu, 17 Jun 2021 05:56:05 +0000 (14:56 +0900)]
Support socket creation for RPC Port

To remove DBus dependency from RPC Port library, this patch is needed.
The RPC Port uses Unix Domain Socket instead of socket pair.
While the stub calls aul_rpc_port_create(), AMD creates a file descriptor
using Unix Domain Socket. The stub uses the fd to manage the connection.

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

Change-Id: Iff4f175840d3b146e01f6e1c215f19e9c7315912
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix wrong implementation 33/261033/1
Hwankyu Jhun [Fri, 9 Jul 2021 00:59:03 +0000 (09:59 +0900)]
Fix wrong implementation

Change-Id: I258c87f4317044a32ec5bf2d6cb61b298b6caf82
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.38.1 21/261021/1 accepted/tizen/unified/20210709.081229 submit/tizen/20210708.103729
Hwankyu Jhun [Thu, 8 Jul 2021 10:35:31 +0000 (19:35 +0900)]
Release version 1.38.1

Changes:
 - Fix wrong log format

Change-Id: Ibdea92e9a5a714e287e4d10c3bdf6bee0d146918
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix wrong log format 20/261020/1
Hwankyu Jhun [Thu, 8 Jul 2021 10:32:46 +0000 (19:32 +0900)]
Fix wrong log format

Change-Id: I390b7e1ab3834b1cea51d5cb7494644bba596da0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 1.38.0 03/261003/1 submit/tizen/20210708.082443
Hwankyu Jhun [Thu, 8 Jul 2021 08:05:31 +0000 (17:05 +0900)]
Release version 1.38.0

Changes:
 - Add Noti class
 - Refactor AMD RPC Port Module
 - Refactor amd_input
 - Use pkgid for handling res control
 - Handle wildcard pattern to match with allowed_package
 - Support Process Name Setter/Getter
 - Add apps_rw check for dual partitions

Change-Id: I7105fd0fcdb46a77f25cc9a8f8a8b97c317717f4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoAdd apps_rw check for dual partitions 01/261001/4
Hwankyu Jhun [Thu, 8 Jul 2021 07:30:01 +0000 (16:30 +0900)]
Add apps_rw check for dual partitions

If the system uses dual partitions, /opt/usr is not mounted.
In this case, we should check whether the apps_rw exists or not.

Change-Id: I63255a5fb2c6f6fc25c671529d393005bc79df55
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoSupport Process Name Setter/Getter 23/260623/11
Hwankyu Jhun [Wed, 30 Jun 2021 01:59:30 +0000 (10:59 +0900)]
Support Process Name Setter/Getter

The process that is not the Tizen application wants to communicate with
the Tizen application using IPC API of Tizen. To use IPC API properly,
the application ID is needed. Even if the process is not the Tizen
application, we support to set the name of the process.

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

Change-Id: I77e3eb40781cdf4023b0d47ceffe0542d5e8f1c5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoHandle wildcard pattern to match with allowed_package 05/260205/4
Ilho Kim [Tue, 22 Jun 2021 03:01:34 +0000 (12:01 +0900)]
Handle wildcard pattern to match with allowed_package

'fnmatch' provides shell style wildcard pattern matching

Change-Id: I08fd657b12e8af7d8126249c8bebe94a434b680a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoUse pkgid for handling res control 19/260219/1
Ilho Kim [Tue, 22 Jun 2021 06:20:25 +0000 (15:20 +0900)]
Use pkgid for handling res control

The resource package defines allowed-package
so when launching the app with res control
there is need to check pkgid instead of appid

Change-Id: Ia24c68b88b3e7208e4eaeb710f1a70fbdb8f4e1b
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoRefactor amd_input 42/259442/10
jh9216.park [Tue, 8 Jun 2021 06:03:05 +0000 (02:03 -0400)]
Refactor amd_input

- Use new Noti API
- Change c implementation to c++

Change-Id: I77b773bbae30beef48b772ba7ecae9589a6f461a
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
3 years agoRefactor AMD RPC Port Module 05/259905/6
Hwankyu Jhun [Wed, 16 Jun 2021 08:51:55 +0000 (17:51 +0900)]
Refactor AMD RPC Port Module

The implementation is changed to c++.

Change-Id: I92cbd3288c77c5e6465b49f2187087bf97353fa0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoAdd Noti class 84/259384/6
jh9216.park [Mon, 7 Jun 2021 06:27:30 +0000 (02:27 -0400)]
Add Noti class

- Replace old c api into c++

- example
int TestCb(const Noti::Msg& msg) {
  auto [pid, uid, b] = GetNotiArgs<pid_t, uid_t, bundle*>(msg);
...
  return Noti::CONTINUE;
}

void NotiParams() {
  Noti::Listen("TestMsg", TestCb);
...
  Noti::Send({"TestMsg", getpid(), getuid(), b1.GetHandle(), b2.GetHandle()});
}

Change-Id: Iab1ba059ab3e761d6ce51fa6f0082bca6f6cdf89
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
3 years agoRelease version 1.37.1 78/259978/2 accepted/tizen/unified/20210621.214559 submit/tizen/20210617.070222 submit/tizen/20210618.082001 submit/tizen/20210620.232502 submit/tizen/20210621.070948
Ilho Kim [Thu, 17 Jun 2021 06:50:42 +0000 (15:50 +0900)]
Release version 1.37.1

Changes:
 - Add rpk package handling logic
 - Implement auto_close for apps using resource package

Change-Id: I7c5d7f1404f629afecf9d62bc320563ca70ca5d4
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoImplement auto_close for apps using resource package 91/258191/14
Ilho Kim [Tue, 11 May 2021 10:31:37 +0000 (19:31 +0900)]
Implement auto_close for apps using resource package

If the resource package is updated when an app is using the package
with auto_close='true' option, the app is terminated

Change-Id: Iaeefaad42252a2eb725bf120344a6311d0010348
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoAdd rpk package handling logic 99/252999/27
Ilho Kim [Wed, 13 Jan 2021 08:05:48 +0000 (17:05 +0900)]
Add rpk package handling logic

When launching an app with res-control
find an appropriate resource package
and set the path of the resource package to be mounted in bundle

Requires:
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/pkgmgr-info/+/251170/
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/aul-1/+/253786/

Change-Id: I482451534de7f23fcd399c02a2e8a4128f6df6cf
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoRelease version 1.37.0 52/259852/1 accepted/tizen/unified/20210617.124912 submit/tizen/20210616.025419
Hwankyu Jhun [Wed, 16 Jun 2021 02:46:42 +0000 (11:46 +0900)]
Release version 1.37.0

Changes:
 - Handle a new request

Change-Id: I967565396fe912b2dbd84b556b6ddc52a5bfa1d0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoHandle a new request 48/259848/2
Hwankyu Jhun [Wed, 16 Jun 2021 02:15:48 +0000 (11:15 +0900)]
Handle a new request

Some process wants to get the state of the application lifecycle state.
This patch is for aul_app_lifecycle_get_state() function.

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

Change-Id: Id1de4ccc0901cd1c6a2612f4e4576893a536951f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 1.36.3 15/259615/1 accepted/tizen/unified/20210611.013618 submit/tizen/20210610.080215
Hwankyu Jhun [Thu, 10 Jun 2021 07:56:04 +0000 (16:56 +0900)]
Release version 1.36.3

Changes:
 - Check real process ID

Change-Id: Iae7cad0ba92bfbcf03c371f676a828cbf3515fbe
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoCheck real process ID 08/259608/2
Hwankyu Jhun [Thu, 10 Jun 2021 07:16:01 +0000 (16:16 +0900)]
Check real process ID

When the application is launched with debug option, the process ID may not
be equal to the process ID of the app status information.
In this case, we should check the real process ID to reply the error to
the caller process. And, AUL lirary will invoke the app_control_cb()
callback function when the function returns an error that is -ELOCALLAUNCH_ID.

Change-Id: Id49a5ca51064cefa448a37fd9d264f3a1804de0a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 1.36.2 43/258943/1 accepted/tizen/unified/20210531.130403 submit/tizen/20210528.065624
Hwankyu Jhun [Fri, 28 May 2021 06:34:01 +0000 (15:34 +0900)]
Release version 1.36.2

Changes:
 - Fix return value of _app_property_metadata_add_filter()

Change-Id: I9d2e32bc863e79dc03cbbb639486887dbea3ac01
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix return value of _app_property_metadata_add_filter() 17/258917/1
Hwankyu Jhun [Thu, 27 May 2021 22:16:18 +0000 (07:16 +0900)]
Fix return value of _app_property_metadata_add_filter()

If the metadata filter is already registered, an error is returned when
trying to register in the module.
This patch changes the return value to zero if the metadata filter
is already existed.

Change-Id: Ie007b73154605553152abbe21976d8a7c7d2886a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 1.36.1 21/258821/1
Hyunho [Wed, 26 May 2021 07:13:29 +0000 (16:13 +0900)]
Release version 1.36.1

Changes:
 - Add alias widget ID feature

Change-Id: Id8c92a77bc1acff586835e2c9ea5e5639805e0fc
Signed-off-by: Hyunho <hhstark.kang@samsung.com>
4 years agoAdd alias widget ID feature 08/258808/11
Hyunho [Wed, 26 May 2021 04:44:21 +0000 (13:44 +0900)]
Add alias widget ID feature

Change-Id: I6d67143e6e429a6eba949f499e71105c9bf5afb0
Signed-off-by: Hyunho <hhstark.kang@samsung.com>
4 years agoRevert "Add system widget container feature" 07/258807/1
Hyunho [Wed, 26 May 2021 04:40:18 +0000 (13:40 +0900)]
Revert "Add system widget container feature"

This reverts commit 887e8ac873018aab30ae4e64395276e379ad0937.

Change-Id: I37dda46d88f45fa8164075168c8707e0feee8f76

4 years agoAdd system widget container feature
Hyunho [Wed, 26 May 2021 04:36:17 +0000 (13:36 +0900)]
Add system widget container feature

Signed-off-by: Hyunho <hhstark.kang@samsung.com>
4 years agoRelease version 1.36.0 65/258465/3
Hwankyu Jhun [Tue, 18 May 2021 06:24:13 +0000 (15:24 +0900)]
Release version 1.36.0

Changes:
 - Fix privilege check of rpc-port module
 - Support getting default appid of app-control

Change-Id: I6a11e1cdee24f1f45ecdc6df5f85043abe9940ab
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoSupport getting default appid of app-control 93/258293/3
Hwankyu Jhun [Thu, 13 May 2021 07:32:29 +0000 (16:32 +0900)]
Support getting default appid of app-control

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

Change-Id: Ic1479fe7ec851664bbe3c052ab6536b86684f5f8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix privilege check of rpc-port module 90/258190/3
Hwankyu Jhun [Wed, 12 May 2021 04:29:24 +0000 (13:29 +0900)]
Fix privilege check of rpc-port module

Currently, AMD does not check the permission of the application that is
a default tts engine.
There are 4 modes of TTS(default, notification, screen reader, interrupt).
The following table is an examle application ID of each tts mode.
+---------------+----------------------------------------+
| Mode          | application ID                         |
+---------------+----------------------------------------+
| default       | org.tizen.tts-engine-default           |
| notification  | org.tizen.tts-engine-default-noti      |
| screen reader | org.tizen.tts-engine-default-sr        |
| interrupt     | org.tizen.tts-engine-default-interrupt |
+---------------+----------------------------------------+

After this patch is applied, AMD uses '-noti', '-sr' and '-interrupt' suffixes
to checks whether the application is the default tts engine or not.

Change-Id: I42d69c007102cdfeb778d0d284607476b56330c8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 1.35.2 09/257809/1 accepted/tizen/unified/20210504.041120 submit/tizen/20210503.081539
Hwankyu Jhun [Mon, 3 May 2021 07:46:43 +0000 (16:46 +0900)]
Release version 1.35.2

Changes:
 - Fix bugs about setting default application

Change-Id: Ie71fbb6707982790ee588b0ae9d65be98eaf4cbe
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix bugs about setting default application 02/257802/1
Hwankyu Jhun [Mon, 3 May 2021 06:37:07 +0000 (15:37 +0900)]
Fix bugs about setting default application

- Send the missing result

Change-Id: I7ed333a6b28d1abf30652622e8a5fc2aac01bbf8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 1.35.1 83/257583/1 accepted/tizen/unified/20210428.092130 submit/tizen/20210428.012527
Hwankyu Jhun [Wed, 28 Apr 2021 01:00:18 +0000 (10:00 +0900)]
Release version 1.35.1

Changes:
 - Fix a bug about getting appid list

Change-Id: Ib5559398c1c61fa99727df170b054bb9df26286b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix a bug about getting appid list 42/257542/1
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>
4 years agoRelease version 1.35.0 85/257485/1 accepted/tizen/unified/20210428.040326 submit/tizen/20210427.022955
Hwankyu Jhun [Tue, 27 Apr 2021 01:07:59 +0000 (10:07 +0900)]
Release version 1.35.0

Changes:
 - Remove WatchdogSec option from service file
 - Fix invalid access
 - Remove the unused function
 - Add amd-mod-argos-watchdog module

Change-Id: I8337268c14d8e21308d00627c3509866690129d4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoAdd amd-mod-argos-watchdog module 11/257411/8
Hwankyu Jhun [Fri, 23 Apr 2021 11:18:14 +0000 (20:18 +0900)]
Add amd-mod-argos-watchdog module

This module is to enable the watchdog timer for AMD.
The default timeout is 90 seconds.

Change-Id: I6bf7853c60604d6390e84a490828937be4c62ba6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRemove the unused function 08/257408/2
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>
4 years agoFix invalid access 25/257425/1
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>
4 years agoRemove WatchdogSec option from service file 71/257371/1
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>
4 years agoRelease version 1.34.3 12/257212/1 accepted/tizen/unified/20210422.090521 submit/tizen/20210421.075319
Hwankyu Jhun [Wed, 21 Apr 2021 07:48:06 +0000 (16:48 +0900)]
Release version 1.34.3

Changes:
 - [input] Check LCD state
 - Change the priority of the timeout source
 - Fix APP_GET_APPID_LIST handler

Change-Id: I028f43b05ebbf0b70f1d3f569285d039836534ec
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix APP_GET_APPID_LIST handler 10/257210/1
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>
4 years agoChange the priority of the timeout source 37/257037/1
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>
4 years ago[input] Check LCD state 62/255462/5
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>
4 years agoRelease version 1.34.2 20/255320/1 accepted/tizen/unified/20210318.055943 accepted/tizen/unified/20210323.122858 submit/tizen/20210316.232334 submit/tizen/20210317.105308 submit/tizen/20210319.065928
Hwankyu Jhun [Tue, 16 Mar 2021 23:20:02 +0000 (08:20 +0900)]
Release version 1.34.2

Changes:
 - Fix _app_status_find() function

Change-Id: I8ffa1fffb771221bff22607ec6fbbcf0a3028de3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix _app_status_find() function 21/255221/1
Hwankyu Jhun [Mon, 15 Mar 2021 08:47:35 +0000 (17:47 +0900)]
Fix _app_status_find() function

To find the app status handle properly, AMD uses getpid() and ppid of
the process.

Change-Id: Ibb394f0373208628c984e155c0f20c2c97018a02
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 1.34.1 65/255165/1 submit/tizen/20210315.011842
Hwankyu Jhun [Sun, 14 Mar 2021 22:59:10 +0000 (07:59 +0900)]
Release version 1.34.1

Changes:
 - Handle unknown operation of package event
 - Fix alias appid handler

Change-Id: I5efc423984e1ca45aeddad33d4c7c8eb7bffb0ef
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix alias appid handler 88/254888/1
Hwankyu Jhun [Wed, 10 Mar 2021 08:50:37 +0000 (17:50 +0900)]
Fix alias appid handler

To send the result properly, AMD should use aul_sock_send_raw_with_fd()
instead of _request_send_result().

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