From 7e17e2d226783a2e065a194e60c061c255cebaae Mon Sep 17 00:00:00 2001 From: Paul Lawrence Date: Tue, 9 Sep 2014 14:47:53 -0700 Subject: [PATCH] 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 --- CheckBattery.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CheckBattery.cpp b/CheckBattery.cpp index f689bb4..21d426b 100644 --- a/CheckBattery.cpp +++ b/CheckBattery.cpp @@ -88,11 +88,13 @@ extern "C" { 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); } }