Don't worry about battery levels when encrypting

This is a deliberately minimalistic change. There is another
defect to remove all this code - removing some of it will (IMO)
simply confuse the issue.

Bug: 16868177
Bug: 17180951
Change-Id: I57d7a4fb3a881d62eb73419cd639a6e3ca567f91
gugelfrei
Paul Lawrence 10 years ago committed by Rom Lemarchand
parent e17a9c4ad3
commit 7e17e2d226

@ -88,11 +88,13 @@ extern "C"
{ {
int is_battery_ok_to_start() int is_battery_ok_to_start()
{ {
return is_battery_ok(START_THRESHOLD); // Bug 16868177 exists to purge this code completely
return true; //is_battery_ok(START_THRESHOLD);
} }
int is_battery_ok_to_continue() int is_battery_ok_to_continue()
{ {
return is_battery_ok(CONTINUE_THRESHOLD); // Bug 16868177 exists to purge this code completely
return true; //is_battery_ok(CONTINUE_THRESHOLD);
} }
} }

Loading…
Cancel
Save