mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-06-11 14:17:08 +02:00
geoloc: make global setter static
This commit is contained in:
parent
5d5fd1a964
commit
32ae0d8826
|
@ -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