Loading src/com/android/settings/fuelgauge/batteryusage/BatteryDiffData.java +3 −3 Original line number Diff line number Diff line Loading @@ -99,7 +99,8 @@ public class BatteryDiffData { return mScreenOnTime; } List<BatteryDiffEntry> getAppDiffEntryList() { /** Gets the {@link BatteryDiffEntry} list for apps. */ public List<BatteryDiffEntry> getAppDiffEntryList() { return mAppEntries; } Loading Loading @@ -298,8 +299,7 @@ public class BatteryDiffData { * Sets total consume power, and adjusts the percentages to ensure the total round percentage * could be 100%, and then sorts entries based on the sorting key. */ @VisibleForTesting static void processAndSortEntries(final List<BatteryDiffEntry> batteryDiffEntries) { public static void processAndSortEntries(final List<BatteryDiffEntry> batteryDiffEntries) { if (batteryDiffEntries.isEmpty()) { return; } Loading Loading
src/com/android/settings/fuelgauge/batteryusage/BatteryDiffData.java +3 −3 Original line number Diff line number Diff line Loading @@ -99,7 +99,8 @@ public class BatteryDiffData { return mScreenOnTime; } List<BatteryDiffEntry> getAppDiffEntryList() { /** Gets the {@link BatteryDiffEntry} list for apps. */ public List<BatteryDiffEntry> getAppDiffEntryList() { return mAppEntries; } Loading Loading @@ -298,8 +299,7 @@ public class BatteryDiffData { * Sets total consume power, and adjusts the percentages to ensure the total round percentage * could be 100%, and then sorts entries based on the sorting key. */ @VisibleForTesting static void processAndSortEntries(final List<BatteryDiffEntry> batteryDiffEntries) { public static void processAndSortEntries(final List<BatteryDiffEntry> batteryDiffEntries) { if (batteryDiffEntries.isEmpty()) { return; } Loading