diff --git a/samples/src/main/kotlin/jp/shiguredo/sora/sample/screencast/SoraScreencastService.kt b/samples/src/main/kotlin/jp/shiguredo/sora/sample/screencast/SoraScreencastService.kt index 9c1c391..131624c 100644 --- a/samples/src/main/kotlin/jp/shiguredo/sora/sample/screencast/SoraScreencastService.kt +++ b/samples/src/main/kotlin/jp/shiguredo/sora/sample/screencast/SoraScreencastService.kt @@ -204,6 +204,7 @@ class SoraScreencastService : Service() { private fun sendInvalidateBroadcast() { // MainActivity に画面更新を促す Intent を送る val intent = Intent("ACTION_INVALIDATE_VIEW") + intent.setPackage(applicationContext.packageName) sendBroadcast(intent) }