SmartDeviceLink-Examples / example_weather_app_android

BSD 3-Clause "New" or "Revised" License
10 stars 6 forks source link

Fix bug with ErrorUpdate Intent causing a crash #21

Closed RHenigan closed 4 years ago

RHenigan commented 4 years ago

Fixes #18

The BroadcastReceiver for ErrorUpdates tries to write to the display. When the SdlManager is not ready yet this would cause a crash. Now the OnReceive method for the BroadcastReceiver will check that the SdlManager is not null and is ready before trying to write to the display