File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -138,19 +138,19 @@ class ActionReceiver : BroadcastReceiver() {
138138
139139 // show the call screen
140140 val pendingIntent = deepLinkToCall(context, pk)
141- try { pendingIntent.send()
141+ try {
142+ pendingIntent.send()
142143 } catch (e: PendingIntent .CanceledException ) {
143- Log .e(TAG , " PendingIntent.CanceledException: ${e.toString()} }" )
144+ Log .e(TAG , " PendingIntent.CanceledException: $e }" )
144145 }
145146 }
146- private fun deepLinkToCall (context : Context , publicKey : PublicKey ) =
147- NavDeepLinkBuilder (context)
148- .setGraph(R .navigation.nav_graph)
149- .setDestination(R .id.callFragment)
150- .setArguments(
151- bundleOf(
152- CONTACT_PUBLIC_KEY to publicKey.string()
153- ),
154- )
155- .createPendingIntent()
147+ private fun deepLinkToCall (context : Context , publicKey : PublicKey ) = NavDeepLinkBuilder (context)
148+ .setGraph(R .navigation.nav_graph)
149+ .setDestination(R .id.callFragment)
150+ .setArguments(
151+ bundleOf(
152+ CONTACT_PUBLIC_KEY to publicKey.string(),
153+ ),
154+ )
155+ .createPendingIntent()
156156}
You can’t perform that action at this time.
0 commit comments