Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 31b41da3 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "SettingsLib: the time is wrong in battery info view."

parents 5e39740b 9bf6f254
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ public class BatteryInfo {
        parse(mStats, remainingTimeUs, parserList);
        final Context context = view.getContext();
        String timeString = context.getString(R.string.charge_length_format,
                Formatter.formatShortElapsedTime(context, timePeriod));
                Formatter.formatShortElapsedTime(context, Math.abs(timePeriod)));
        String remaining = "";
        if (remainingTimeUs != 0) {
            remaining = context.getString(R.string.remaining_length_format,