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

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

Merge "Allow clicking the radio button in the permission filter dialog."

parents a82d3504 f3f773ad
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -833,8 +833,12 @@ public class PermissionUsageFragment extends SettingsWithLargeHeader implements
                    fragment.onPermissionGroupSelected(groupName);
                });

                ((RadioButton) itemView.requireViewById(R.id.radio_button)).setChecked(
                        i == selectedIndex);
                RadioButton radioButton = itemView.requireViewById(R.id.radio_button);
                radioButton.setChecked(i == selectedIndex);
                radioButton.setOnClickListener((v) -> {
                    dismissAllowingStateLoss();
                    fragment.onPermissionGroupSelected(groupName);
                });

                itemsListView.addView(itemView);
            }