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

Commit 3be3764d authored by Michael Groover's avatar Michael Groover Committed by Android (Google) Code Review
Browse files

Merge "Add required flags to registerReceiver calls in sysui"

parents 33abaa26 16ee1da7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -244,7 +244,8 @@ class ControlsControllerImpl @Inject constructor (
            restoreFinishedReceiver,
            IntentFilter(BackupHelper.ACTION_RESTORE_FINISHED),
            PERMISSION_SELF,
            null
            null,
            Context.RECEIVER_NOT_EXPORTED
        )
        listingController.addCallback(listingCallback)
    }
+1 −1
Original line number Diff line number Diff line
@@ -77,7 +77,7 @@ class DebugModeFilterProvider @Inject constructor(
        if (needsInitialization) {
            val filter = IntentFilter().apply { addAction(ACTION_SET_NOTIF_DEBUG_MODE) }
            val permission = NOTIF_DEBUG_MODE_PERMISSION
            context.registerReceiver(mReceiver, filter, permission, null)
            context.registerReceiver(mReceiver, filter, permission, null, Context.RECEIVER_EXPORTED)
            Log.d(TAG, "Registered: $mReceiver")
        }
    }