abrenoch / hyperion-android-grabber

Screen grabber for hyperion
MIT License
194 stars 33 forks source link

Bug/tile toast #70

Closed abrenoch closed 6 years ago

abrenoch commented 6 years ago

Fixes the tile service not showing the error toast if the application is not running at all (like on a fresh boot).

Closes #69

abrenoch commented 6 years ago

Just pushed a small update to this. If the user was quick enough to close the notification pane before the startup response was received, the returned error would not be shown at all.

This change waits 10 seconds before removing the broadcast receiver from the tile service, since we have no way of knowing when the response will come and whether or not the broadcast receiver is still listening at that point.