From 9159f58d50b9cd2ff0722ae94e31c672a5333f03 Mon Sep 17 00:00:00 2001 From: Kevin Kane Date: Sat, 30 Nov 2019 15:49:20 -0500 Subject: [PATCH] removed toast --- .../com/example/ContextAwareRinger/FenceBroadcastReceiver.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ContextAwareRingerApp/app/src/main/java/com/example/ContextAwareRinger/FenceBroadcastReceiver.kt b/ContextAwareRingerApp/app/src/main/java/com/example/ContextAwareRinger/FenceBroadcastReceiver.kt index 004a738..81c11ec 100644 --- a/ContextAwareRingerApp/app/src/main/java/com/example/ContextAwareRinger/FenceBroadcastReceiver.kt +++ b/ContextAwareRingerApp/app/src/main/java/com/example/ContextAwareRinger/FenceBroadcastReceiver.kt @@ -32,8 +32,7 @@ class FenceBroadcastReceiver : BroadcastReceiver() { override fun onReceive(context: Context, intent: Intent) { Log.i(TAG, "Broadcast Received") - - Toast.makeText(context, "Broadcast Received by Receiver", Toast.LENGTH_LONG).show() + val fenceState = FenceState.extract(intent) val fenceKey = fenceState.fenceKey val volumeMap = readVolumeMap(context, VOLUME_MAP_FILENAME)