Support android API 34
This commit is contained in:
parent
6f12f5a328
commit
a20a4116fc
|
@ -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()
|
||||
}
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue