aboutsummaryrefslogtreecommitdiff
path: root/citadel/citadeld/CitadeldProxyClient.cpp
diff options
context:
space:
mode:
authorAndrew Scull <ascull@google.com>2018-03-06 23:39:29 +0000
committerAndrew Scull <ascull@google.com>2018-03-07 00:14:58 +0000
commitc48e911d96ef4e9205a3e9bc9c55fd02b0805abf (patch)
tree2dd6fb55394ed45d137eaef188d0fe2b0c58442f /citadel/citadeld/CitadeldProxyClient.cpp
parent641e3bf10361351830c471d9228e66cbd20b61b4 (diff)
downloadandroid-c48e911d96ef4e9205a3e9bc9c55fd02b0805abf.tar.gz
Expose handle to citadeld service.
After opening a connection to citadeld, this handle can be used to directly invoke citadeld behaviour e.g. resetting the device. Change-Id: Ibe561011fb2a40601ca489689c5a67e7e076a1aa
Diffstat (limited to 'citadel/citadeld/CitadeldProxyClient.cpp')
-rw-r--r--citadel/citadeld/CitadeldProxyClient.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/citadel/citadeld/CitadeldProxyClient.cpp b/citadel/citadeld/CitadeldProxyClient.cpp
index a5d0378..6196d36 100644
--- a/citadel/citadeld/CitadeldProxyClient.cpp
+++ b/citadel/citadeld/CitadeldProxyClient.cpp
@@ -72,4 +72,8 @@ uint32_t CitadeldProxyClient::CallApp(uint32_t appId, uint16_t arg,
return APP_ERROR_IO;
}
+ICitadeld& CitadeldProxyClient::Citadeld() {
+ return *_citadeld.get();
+}
+
} // namespace nos