Class obtained from ServiceInfo can be null. For example while working with Amazon Device Messaging you cannot export a jar with this class (because it won't work on Kindle Fire then). While launching on non-Kindle devide this class is not really used (and application would work fine) but Mechanoid will throw NPE due to lack of this service Class.
Cheers, good spot, the design of how the service configuration works needs to be revised as it currently uses reflection and thats not really to great.
Class obtained from ServiceInfo can be null. For example while working with Amazon Device Messaging you cannot export a jar with this class (because it won't work on Kindle Fire then). While launching on non-Kindle devide this class is not really used (and application would work fine) but Mechanoid will throw NPE due to lack of this service Class.