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

Commit 5a8476a7 authored by Kevin Chyn's avatar Kevin Chyn Committed by Android (Google) Code Review
Browse files

Merge "Pass context and enforcedAdmin to onClickListener" into sc-dev

parents 678a57b0 35aa93d8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -80,7 +80,8 @@ public final class ActionDisabledByAdminDialogHelper {
            EnforcedAdmin enforcedAdmin) {
        AlertDialog.Builder builder = new AlertDialog.Builder(mActivity)
                .setPositiveButton(R.string.okay,
                        mActionDisabledByAdminController.getPositiveButtonListener())
                        mActionDisabledByAdminController
                                .getPositiveButtonListener(mActivity, enforcedAdmin))
                .setView(mDialogView);
        prepareDialogBuilder(builder, restriction, enforcedAdmin);
        return builder;