summaryrefslogtreecommitdiffhomepage
path: root/android/src/main/AndroidManifest.xml
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2020-03-17 20:27:53 +0000
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2020-03-17 20:41:57 +0000
commit8434a89489628abf7b46e3c59a11a6014de9a891 (patch)
tree23957c78f74f18ede8809a1b527d6c985807e04e /android/src/main/AndroidManifest.xml
parentd27c978a41da972d8ec1438b9f6cedf059c02771 (diff)
downloadmullvadvpn-8434a89489628abf7b46e3c59a11a6014de9a891.tar.xz
mullvadvpn-8434a89489628abf7b46e3c59a11a6014de9a891.zip
Fix leak of connectivity subscriptions
The `LocationInfoCache` is created for every service connection, but the `ConnectivityListener` it uses is reused from the service if the service is always the same. Since there was unsubscribe command, the number of listeners would increase every time the main app activity was started. Each listener would then attempt to fetch the location if connectivity was lost and then restored.
Diffstat (limited to 'android/src/main/AndroidManifest.xml')
0 files changed, 0 insertions, 0 deletions