Check user ID to reduce unnecessary IPC 55/316355/1
authorHwankyu Jhun <h.jhun@samsung.com>
Tue, 20 Aug 2024 05:15:56 +0000 (14:15 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Tue, 20 Aug 2024 05:15:56 +0000 (14:15 +0900)
commit16f7bfb66d3c02a28e747fe8820614a5efbebd84
tree538cf4dd462d54c87ac09a9cc75557069a555cc7
parentdcab116d001543eef00c9b89cc24d78cba9c5356
Check user ID to reduce unnecessary IPC

If the user ID of the caller process is less than regular user ID,
the aul_app_get_appid_bypid() does not send the request to amd.
It's to reduce unnecessary IPC.

Change-Id: I1fa1935f3660d9ab59c21892c9ac90f0a1ad31c4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/aul/pkginfo.cc
test/unit_tests/test_launch_with_result.cc