Skip to content

WeatherService sending errorupdate broadcast for location and network even though both are available #18

@RHenigan

Description

@RHenigan

Bug Report
When the sdlservice is sets up the correct ErrorUpdate broadcast receiver and is tested with an emulator the network and location services are not flagged as unavailable in the WeatherService and therefore sends a ErrorUpdate broadcast before the sdlManager is initialized, this causes the sdlService to trhow a null pointer exception

Reproduction Steps
Update the intent filter in OnCreate of SdlService from "com.ford.mobileweather.ErrorUpdate" to "com.sdl.mobileweather.ErrorUpdate"
Run the application against manticore using an emulator with google play services

Expected Behavior
Application should run, establish connection to manticore, and weather data should appear on manticore

Observed Behavior
applicaiton crashes due to a nullpointerexception on screenManager.getState within the sdlManager

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions