mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 17:19:39 +02: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…
Add table
Add a link
Reference in a new issue