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

Commit b077db1b authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Support accessibility for battery usage in U (2)"

parents 023dc913 ce336ae7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -199,7 +199,9 @@ public class BatteryUsageBreakdownController extends BasePreferenceController
                : mPrefContext.getString(
                        R.string.battery_usage_breakdown_title_for_slot, slotTimestamp));
        mRootPreference.setVisible(true);
        mHandler.post(() -> {
            mRootPreference.requestAccessibilityFocus();
        });
    }

    private void showFooterPreference(boolean isAllBatteryUsageEmpty, String slotTimestamp) {