abrenoch / hyperion-android-grabber

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

Quick settings tile not showing connection error toast #69

Closed abrenoch closed 6 years ago

abrenoch commented 6 years ago

If the MainActivity is not running when the settings tile is toggled, the grabber will fail to start without showing the toast notification.

Easy enough to add a toast to HyperionGrabberTileService, but it might need something to check if HyperionGrabberTileService has a BroadcastReceiver registered before showing the toast in MainActivity, or else the notifications will double-up. Seems like that should be easy to achieve with a static boolean in HyperionGrabberTileService.