summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSangyoon Jang <jeremy.jang@samsung.com>2024-05-09 14:40:40 +0900
committerSangyoon Jang <jeremy.jang@samsung.com>2024-05-09 14:42:42 +0900
commit041f38420764225ed7b2701b71d3ac98b59bd423 (patch)
treee980ede3a833a42540ec5ef95f3d465f8746b23c
parent2080a32c672b6331ab1bc9f9f43bf41df01e7b4e (diff)
downloadapp-installers-041f38420764225ed7b2701b71d3ac98b59bd423.tar.gz
app-installers-041f38420764225ed7b2701b71d3ac98b59bd423.tar.bz2
app-installers-041f38420764225ed7b2701b71d3ac98b59bd423.zip
Remove external RW dir creation logic
External RW dir is no longer used. Change-Id: I3b476c9d04a24f9b99ae28d47110d40f701a0d23 Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
-rw-r--r--src/pkgdir_tool/pkgdir_tool.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pkgdir_tool/pkgdir_tool.cc b/src/pkgdir_tool/pkgdir_tool.cc
index 0a2db045..c695d167 100644
--- a/src/pkgdir_tool/pkgdir_tool.cc
+++ b/src/pkgdir_tool/pkgdir_tool.cc
@@ -118,14 +118,17 @@ void PkgdirToolService::HandleMethodCall(GDBusConnection* connection,
UNUSED(interface_name);
UNUSED(parameters);
UNUSED(user_data);
- bool r = false;
+ bool r = true;
LOG(INFO) << "Incomming method call: " << method_name;
+// TODO: external rw directory is no longer used. pkgdir_tool will be removed.
+#if 0
if (g_strcmp0(method_name, "CreateExternalDirsForAllPkgs") == 0) {
r = ci::PerformExternalDirectoryCreationForAllPkgs();
} else {
LOG(ERROR) << "Unknown method call: " << method_name;
}
+#endif
g_dbus_method_invocation_return_value(invocation, g_variant_new("(b)", r));
RenewTimeout(5000);