Merge "Check result of registerAsService in dumpstate." into oc-dev