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

Commit ff111010 authored by Jacob Hobbie's avatar Jacob Hobbie
Browse files

Adding receiver flag.

ACTION_CLOSE_SYSTEM_DIALOG should always be marked as exported since it is used in tests, but dropped by the platform in versions that will require a flag marking a context registered receiver as exported/not exported.

Change-Id: I0f943ed36aa763d294b80e25af8e3d05d56b8f5f
Test: No-op
Bug: 208294772
parent 2c8fb144
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@ public class BaseErrorDialog extends AlertDialog {
        mHandler.sendEmptyMessage(DISABLE_BUTTONS);
        mHandler.sendMessageDelayed(mHandler.obtainMessage(ENABLE_BUTTONS), 1000);
        getContext().registerReceiver(mReceiver,
                new IntentFilter(Intent.ACTION_CLOSE_SYSTEM_DIALOGS));
                new IntentFilter(Intent.ACTION_CLOSE_SYSTEM_DIALOGS), Context.RECEIVER_EXPORTED);
    }

    @Override