update_engine: log network ID
A recent bug was found where update_engine downloaded it's entire
payload over the cellular network rather than wifi. This bug could've
been more easily debugged with this given log, since the other network
logs are not as persistent. Adding this here for easier debugging in the
future
Test: th
Bug: 309751457
Change-Id: I1184814eebd0f88820aaf9d7948e7503efa1d903
diff --git a/aosp/update_attempter_android.cc b/aosp/update_attempter_android.cc
index e41531c..0f6fc5c 100644
--- a/aosp/update_attempter_android.cc
+++ b/aosp/update_attempter_android.cc
@@ -353,6 +353,7 @@
__FILE__,
"Unable to set network_id: " + headers[kPayloadPropertyNetworkId]);
}
+ LOG(INFO) << "Using network ID: " << network_id;
}
LOG(INFO) << "Using this install plan:";