mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-01 01:35:59 +01:00
geoloc: make global setter static
This commit is contained in:
parent
5d5fd1a964
commit
32ae0d8826
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ public final class GeoLocationManager extends Manager {
|
||||||
pepManager.publish(GeoLocation.NAMESPACE, new PayloadItem<GeoLocation>(GeoLocation.EMPTY_GEO_LOCATION));
|
pepManager.publish(GeoLocation.NAMESPACE, new PayloadItem<GeoLocation>(GeoLocation.EMPTY_GEO_LOCATION));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setGeoLocationNotificationsEnabledByDefault(boolean bool) {
|
public static void setGeoLocationNotificationsEnabledByDefault(boolean bool) {
|
||||||
ENABLE_USER_LOCATION_NOTIFICATIONS_BY_DEFAULT = bool;
|
ENABLE_USER_LOCATION_NOTIFICATIONS_BY_DEFAULT = bool;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue