Support android API 34 (#164)

This commit is contained in:
Ian VanSchooten 2024-09-26 14:43:55 -04:00 committed by GitHub
parent 6f12f5a328
commit a6398d6813
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ class MainActivity: FlutterActivity() {
apiClient = APIClient(context) apiClient = APIClient(context)
registerReceiver(refreshReceiver, IntentFilter(ACTION_REFRESH_SITES)) registerReceiver(refreshReceiver, IntentFilter(ACTION_REFRESH_SITES), RECEIVER_NOT_EXPORTED)
enqueueDNUpdater() enqueueDNUpdater()
} }

View File

@ -213,7 +213,7 @@ class NebulaVpnService : VpnService() {
} }
private fun registerReloadReceiver() { private fun registerReloadReceiver() {
registerReceiver(reloadReceiver, IntentFilter(ACTION_RELOAD)) registerReceiver(reloadReceiver, IntentFilter(ACTION_RELOAD), RECEIVER_NOT_EXPORTED)
} }
private fun unregisterReloadReceiver() { private fun unregisterReloadReceiver() {