summaryrefslogtreecommitdiff
path: root/hardware_android.cc
diff options
context:
space:
mode:
Diffstat (limited to 'hardware_android.cc')
-rw-r--r--hardware_android.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/hardware_android.cc b/hardware_android.cc
index 7958fbf6..0e5abaad 100644
--- a/hardware_android.cc
+++ b/hardware_android.cc
@@ -214,9 +214,10 @@ bool HardwareAndroid::GetFirstActiveOmahaPingSent() const {
return false;
}
-void HardwareAndroid::SetFirstActiveOmahaPingSent() {
- LOG(WARNING) << "STUB: Assuming first active omaha is never set.";
- return;
+bool HardwareAndroid::SetFirstActiveOmahaPingSent() {
+ LOG(WARNING) << "STUB: Assuming first active omaha is set.";
+ // We will set it true, so its failure doesn't cause escalation.
+ return true;
}
} // namespace chromeos_update_engine