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

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

Merge "Ignore the storage group in the Privacy bar chart."

parents a2f6de4b 4fa8a61f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -112,6 +112,9 @@ public class PermissionBarChartPreferenceController extends BasePreferenceContro
            return null;
        }

        // STOPSHIP: Ignore the STORAGE group since it's going away.
        usageInfos.removeIf(usage -> usage.getName().equals("android.permission-group.STORAGE"));

        final BarViewInfo[] barViewInfos = new BarViewInfo[
                Math.min(BarChartPreference.MAXIMUM_BAR_VIEWS, usageInfos.size())];