1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-29 07:22:07 +01:00

geoloc: make global setter static

This commit is contained in:
Florian Schmaus 2020-04-13 10:52:58 +02:00
parent 5d5fd1a964
commit 32ae0d8826

View file

@ -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;
} }