Merge "Add some more logging to settings battery stuff" into oc-dr1-dev

am: e4c9b7162d

Change-Id: I560c4f1640b20e781daf2bcc9e22fc0c9b511b90
This commit is contained in:
Salvador Martinez
2017-07-20 21:53:50 +00:00
committed by android-build-merger
5 changed files with 29 additions and 1 deletions

View File

@@ -167,6 +167,7 @@ public class PowerUsageAdvanced extends PowerUsageBase {
@Override
protected void refreshUi() {
final long startTime = System.currentTimeMillis();
final Context context = getContext();
if (context == null) {
return;
@@ -186,6 +187,7 @@ public class PowerUsageAdvanced extends PowerUsageBase {
}
BatteryEntry.startRequestQueue();
BatteryUtils.logRuntime(TAG, "refreshUI", startTime);
}
@VisibleForTesting