diff --git a/android/app/src/main/kotlin/net/defined/mobile_nebula/MainActivity.kt b/android/app/src/main/kotlin/net/defined/mobile_nebula/MainActivity.kt index dd83799..65a496e 100644 --- a/android/app/src/main/kotlin/net/defined/mobile_nebula/MainActivity.kt +++ b/android/app/src/main/kotlin/net/defined/mobile_nebula/MainActivity.kt @@ -98,7 +98,7 @@ class MainActivity: FlutterActivity() { apiClient = APIClient(context) - registerReceiver(refreshReceiver, IntentFilter(ACTION_REFRESH_SITES)) + registerReceiver(refreshReceiver, IntentFilter(ACTION_REFRESH_SITES), RECEIVER_NOT_EXPORTED) enqueueDNUpdater() } diff --git a/android/app/src/main/kotlin/net/defined/mobile_nebula/NebulaVpnService.kt b/android/app/src/main/kotlin/net/defined/mobile_nebula/NebulaVpnService.kt index 620b46a..6516321 100644 --- a/android/app/src/main/kotlin/net/defined/mobile_nebula/NebulaVpnService.kt +++ b/android/app/src/main/kotlin/net/defined/mobile_nebula/NebulaVpnService.kt @@ -213,7 +213,7 @@ class NebulaVpnService : VpnService() { } private fun registerReloadReceiver() { - registerReceiver(reloadReceiver, IntentFilter(ACTION_RELOAD)) + registerReceiver(reloadReceiver, IntentFilter(ACTION_RELOAD), RECEIVER_NOT_EXPORTED) } private fun unregisterReloadReceiver() {