Merge "Ignore the storage group in the Privacy bar chart."
This commit is contained in:
committed by
Android (Google) Code Review
commit
6bccb4fb14
@@ -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())];
|
||||
|
||||
|
Reference in New Issue
Block a user