Add ExternalDirectoryInfo class 06/258106/4
authorHwankyu Jhun <h.jhun@samsung.com>
Tue, 11 May 2021 01:06:47 +0000 (10:06 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Tue, 11 May 2021 06:55:12 +0000 (15:55 +0900)
commitc7eebdb071764e6aa78c75e4490e9bb5ea03ebf1
treeb4044444c4bd78ef6dfa2d9a64d5706ca6849b41
parent90874d53bccccc44bb94db4e0fc735f7fb532a78
Add ExternalDirectoryInfo class

While getting external path, AUL uses storage API to get external
storage path. And, the storage API uses gdbus API to get primary sdcard path.
While using gdbus API, two threads are created by gdbus.
Currently, threads are created when the process is calling aul_get_app_root_path().
The codes are separated from DirectoryInfo class for backward compatibility.

Change-Id: I83e1e931afa85002fd239fd2f4459cf08f58eef9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
aul/app_info/directory_info.cc
aul/app_info/directory_info.hh
aul/app_info/external_directory_info.cc [new file with mode: 0644]
aul/app_info/external_directory_info.hh [new file with mode: 0644]
src/aul_path.cc