summaryrefslogtreecommitdiffstats
path: root/client_library/include
diff options
context:
space:
mode:
authorCasey Dahlin <sadmac@google.com>2015-12-16 14:30:58 -0800
committerCasey Dahlin <sadmac@google.com>2015-12-16 15:55:59 -0800
commite844c1a5604765bbddafa7e05f1143a27f136747 (patch)
treec048513e32adc24e1c419a4c9bf9c5c9c9e5fd4c /client_library/include
parent05e0e38c30824b727f3582c90258d9bb19cc3f47 (diff)
downloadandroid_system_update_engine-e844c1a5604765bbddafa7e05f1143a27f136747.tar.gz
android_system_update_engine-e844c1a5604765bbddafa7e05f1143a27f136747.tar.bz2
android_system_update_engine-e844c1a5604765bbddafa7e05f1143a27f136747.zip
Port update_engine_client ResetStatus command to lib
This is the first step in getting update_engine_client completely off of direct DBus calls Test: Ran --reset_status command and verified update_engine received the signal. Bug: 26233663 Signed-off-by: Casey Dahlin <sadmac@google.com> Change-Id: Iac54d890fd796f91a7813755d6061cf468255347
Diffstat (limited to 'client_library/include')
-rw-r--r--client_library/include/update_engine/client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/client_library/include/update_engine/client.h b/client_library/include/update_engine/client.h
index b3cef667..3406ca67 100644
--- a/client_library/include/update_engine/client.h
+++ b/client_library/include/update_engine/client.h
@@ -66,6 +66,9 @@ class UpdateEngineClient {
std::string* out_new_version,
int64_t* out_new_size) = 0;
+ // Resets the status of the Update Engine
+ virtual bool ResetStatus() = 0;
+
// Changes the current channel of the device to the target channel.
virtual bool SetTargetChannel(const std::string& target_channel) = 0;