File tree Expand file tree Collapse file tree
java/org/scottishtecharmy/soundscape/geoengine Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -848,8 +848,16 @@ class GeoEngine {
848848 val gridFinishTime = timeSource.markNow()
849849 Log .e(GridState .TAG , " Time to calculate NearbyMarkers: ${gridFinishTime - gridStartTime} " )
850850
851- if (results.isEmpty())
852- return null
851+ if (results.isEmpty()) {
852+ results.add(
853+ PositionedString (
854+ text = localizedContext.getString(R .string.callouts_no_nearby_markers),
855+ type = AudioType .STANDARD ,
856+ earcon = NativeAudioEngine .EARCON_MODE_EXIT
857+ )
858+ )
859+ }
860+
853861
854862 return TrackedCallout (
855863 userGeometry = userGeometry,
Original file line number Diff line number Diff line change 304304<string name =" callouts_nothing_to_call_out_now" >"There is nothing to call out right now"</string >
305305<!-- Button text for the hear my surroundings button which calls out nearby markers -->
306306<string name =" callouts_nearby_markers" >"Nearby Markers"</string >
307+ <!-- Text read out when there are no markers nearby to report -->
308+ <string name =" callouts_no_nearby_markers" >"There are no nearby markers"</string >
307309<!-- Sleep Title, Sleep. Putting the app in an idle state for a period of time. -->
308310<string name =" sleep_sleep" >"Sleep"</string >
309311<!-- App is currently Sleeping. Putting the app in an idle state for a period of time. -->
You can’t perform that action at this time.
0 commit comments