/** * @since 0.6.0 Added only for backwards compatibility, where locations are being created directly. * @deprecated in 0.6.0; use {@link LocationManager#createLocation(LocationSpec)} instead */ @Deprecated public static void manage(Location loc, ManagementContext managementContext) { Locations.manage(loc, managementContext); }
Locations.manage(newLocation, getManagementContext());
Locations.manage(child, getManagementContext());