recovery: Always log the update attempt.
am: 5687001895
* commit '568700189528c69a6cdd7a246127ce01463e033d':
recovery: Always log the update attempt.
Change-Id: I48f3199c4640a17ae022879082f8de9948d94925
This commit is contained in:
@@ -1442,6 +1442,10 @@ int main(int argc, char **argv) {
|
|||||||
int status = INSTALL_SUCCESS;
|
int status = INSTALL_SUCCESS;
|
||||||
|
|
||||||
if (update_package != NULL) {
|
if (update_package != NULL) {
|
||||||
|
// It's not entirely true that we will modify the flash. But we want
|
||||||
|
// to log the update attempt since update_package is non-NULL.
|
||||||
|
modified_flash = true;
|
||||||
|
|
||||||
if (!is_battery_ok()) {
|
if (!is_battery_ok()) {
|
||||||
ui->Print("battery capacity is not enough for installing package, needed is %d%%\n",
|
ui->Print("battery capacity is not enough for installing package, needed is %d%%\n",
|
||||||
BATTERY_OK_PERCENTAGE);
|
BATTERY_OK_PERCENTAGE);
|
||||||
|
|||||||
Reference in New Issue
Block a user