From 32ae0d88268184efe105300cdef0aab0abf285fd Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Mon, 13 Apr 2020 10:52:58 +0200 Subject: [PATCH] geoloc: make global setter static --- .../java/org/jivesoftware/smackx/geoloc/GeoLocationManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/geoloc/GeoLocationManager.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/geoloc/GeoLocationManager.java index 858d1a83a..3dbee6589 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/geoloc/GeoLocationManager.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/geoloc/GeoLocationManager.java @@ -188,7 +188,7 @@ public final class GeoLocationManager extends Manager { pepManager.publish(GeoLocation.NAMESPACE, new PayloadItem(GeoLocation.EMPTY_GEO_LOCATION)); } - public void setGeoLocationNotificationsEnabledByDefault(boolean bool) { + public static void setGeoLocationNotificationsEnabledByDefault(boolean bool) { ENABLE_USER_LOCATION_NOTIFICATIONS_BY_DEFAULT = bool; }