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

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

Merge "Reload AppPermissionFragment when it is resumed."

parents fb99f232 a3799863
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -238,8 +238,6 @@ public class AppPermissionFragment extends SettingsWithLargeHeader {
            root.requireViewById(R.id.footer_all).setVisibility(View.GONE);
        }

        updateButtons();

        return root;
    }

@@ -293,6 +291,10 @@ public class AppPermissionFragment extends SettingsWithLargeHeader {
            ab.setElevation(0);
        }
        ActionBarShadowController.attachToView(activity, getLifecycle(), mNestedScrollView);

        // Re-create the permission group in case permissions have changed and update the UI.
        createAppPermissionGroup();
        updateButtons();
    }

    @Override