Throw an error if no package name is provided by the app when needed

Avoid crashing system server if a calling app does not provide a package
name to broadcastIntent, instead throw an exception back.

Bug: 36452829
Test: Devices boots, apps work
Change-Id: Ie67ad4b631f399e674449e0787ed8fab47b89cb6
1 file changed