diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponent.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponent.java index 327ab3c8e..d643795c0 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponent.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponent.java @@ -1509,4 +1509,13 @@ public final class LocationComponent { throw new LocationComponentNotInitializedException(); } } -} \ No newline at end of file + + /** + * Returns whether the location component is activated. + * + * @return true if the component is activated, false otherwise + */ + public boolean isLocationComponentActivated() { + return isComponentInitialized; + } +}