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

Commit be99f622 authored by Nate Myren's avatar Nate Myren Committed by Android (Google) Code Review
Browse files

Merge "Always show icons and subtitle in ReviewOngoingUsage" into rvc-qpr-dev

parents 651ef491 bf3331f9
Loading
Loading
Loading
Loading
+18 −22
Original line number Diff line number Diff line
@@ -331,9 +331,6 @@ public class ReviewOngoingUsageFragment extends PreferenceFragmentCompat {
            ((TextView) itemView.requireViewById(R.id.app_name)).setText(app.getLabel());
            ((ImageView) itemView.requireViewById(R.id.app_icon)).setImageDrawable(app.getIcon());

            // Add the icons for the groups this app used as long as multiple groups were used by
            // some app.
            if (usedGroups.size() > 1) {
            ArrayMap<String, CharSequence> usedGroupsThisApp = new ArrayMap<>();

            ViewGroup iconFrame = itemView.requireViewById(R.id.icons);
@@ -354,7 +351,6 @@ public class ReviewOngoingUsageFragment extends PreferenceFragmentCompat {
            TextView permissionsList = itemView.requireViewById(R.id.permissionsList);
            permissionsList.setText(getListOfPermissionLabels(usedGroupsThisApp));
            permissionsList.setVisibility(View.VISIBLE);
            }

            itemView.setOnClickListener((v) -> {
                String packageName = app.getPackageName();