Compare commits
2 Commits
faea525c20
...
8a92f44285
Author | SHA1 | Date |
---|---|---|
Ian VanSchooten | 8a92f44285 | |
Ian VanSchooten | 54cce22be4 |
|
@ -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()
|
||||||
}
|
}
|
||||||
|
|
|
@ -209,11 +209,11 @@ class NebulaVpnService : VpnService() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
registerReceiver(receiver, IntentFilter(PowerManager.ACTION_DEVICE_IDLE_MODE_CHANGED))
|
registerReceiver(receiver, IntentFilter(PowerManager.ACTION_DEVICE_IDLE_MODE_CHANGED), RECEIVER_EXPORTED)
|
||||||
}
|
}
|
||||||
|
|
||||||
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() {
|
||||||
|
|
Loading…
Reference in New Issue