mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
No need to unregisterLocationManager() as it should never be registered
This commit is contained in:
parent
fa238b94aa
commit
801fea631f
1 changed files with 0 additions and 6 deletions
|
|
@ -453,12 +453,6 @@ public class ShareActivity
|
||||||
@Override
|
@Override
|
||||||
public void onPause() {
|
public void onPause() {
|
||||||
super.onPause();
|
super.onPause();
|
||||||
try {
|
|
||||||
gpsObj.unregisterLocationManager();
|
|
||||||
Timber.d("Unregistered locationManager");
|
|
||||||
} catch (NullPointerException e) {
|
|
||||||
Timber.d("locationManager does not exist, not unregistered");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue