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
diff --git a/CheckBattery.cpp b/CheckBattery.cpp
index f689bb4..21d426b 100644
--- a/CheckBattery.cpp
+++ b/CheckBattery.cpp
@@ -88,11 +88,13 @@
{
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()
{
- return is_battery_ok(CONTINUE_THRESHOLD);
+ // Bug 16868177 exists to purge this code completely
+ return true; //is_battery_ok(CONTINUE_THRESHOLD);
}
}