commit | 96da36362212ad4bfaa7a0328e60069589a21dd4 | [log] [tgz] |
---|---|---|
author | David Zeuthen <zeuthen@google.com> | Wed Sep 16 17:10:00 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Sep 16 17:10:00 2015 +0000 |
tree | 69bdfbee6b703e9e46d7daee7d4b547e3ac47c13 | |
parent | 4d2990d04917bd8140772bee63f2cf43837b6a30 [diff] | |
parent | 753fadc8805f662e5af3a66f694207b04fbef8bb [diff] |
Merge "BootControlAndroid: Implement using libhardware."
diff --git a/hardware_android.cc b/hardware_android.cc index 5c76989..73fef99 100644 --- a/hardware_android.cc +++ b/hardware_android.cc
@@ -49,7 +49,8 @@ bool HardwareAndroid::IsOOBEComplete(base::Time* out_time_of_oobe) const { LOG(WARNING) << "STUB: Assuming OOBE is complete."; - *out_time_of_oobe = base::Time(); + if (out_time_of_oobe) + *out_time_of_oobe = base::Time(); return true; }