Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

system-vold: Commit

system/vold


Commit MetaInfo

Revisión08e6ac30c7a7b3ad4d5f666047569753e8309a48 (tree)
Tiempo2019-09-22 08:10:35
Autorandroid-build-team Robot <android-build-team-robot@goog...>
Commiterandroid-build-team Robot

Log Message

Snap for 5892339 from 1b535e41fd6c1b666cf806aae782cf621b7782bc to qt-qpr1-release

Change-Id: Ibb3cf7ec9163d5870c6b51d8d14bdf4985b63feb

Cambiar Resumen

Diferencia incremental

--- a/Checkpoint.cpp
+++ b/Checkpoint.cpp
@@ -244,6 +244,11 @@ bool cp_needsRollback() {
244244 }
245245
246246 bool cp_needsCheckpoint() {
247+ // Make sure we only return true during boot. See b/138952436 for discussion
248+ static bool called_once = false;
249+ if (called_once) return isCheckpointing;
250+ called_once = true;
251+
247252 bool ret;
248253 std::string content;
249254 sp<IBootControl> module = IBootControl::getService();
@@ -317,6 +322,8 @@ static void cp_healthDaemon(std::string mnt_pnt, std::string blk_device, bool is
317322 } // namespace
318323
319324 Status cp_prepareCheckpoint() {
325+ // Log to notify CTS - see b/137924328 for context
326+ LOG(INFO) << "cp_prepareCheckpoint called";
320327 if (!isCheckpointing) {
321328 return Status::ok();
322329 }
Show on old repository browser