mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +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
|
||||
public void onPause() {
|
||||
super.onPause();
|
||||
try {
|
||||
gpsObj.unregisterLocationManager();
|
||||
Timber.d("Unregistered locationManager");
|
||||
} catch (NullPointerException e) {
|
||||
Timber.d("locationManager does not exist, not unregistered");
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue