private byte[] callInternal() {
ApiProxy.setEnvironmentForCurrentThread(environment);
try {
LocalRpcService service = getService(packageName);
if (service == null) {
throw new CallNotFoundException(packageName, methodName);
}
LocalCapabilitiesEnvironment capEnv = context.getLocalCapabilitiesEnvironment();
CapabilityStatus capabilityStatus = capEnv
.getStatusFromMethodName(packageName, methodName);
if (!CapabilityStatus.ENABLED.equals(capabilityStatus)) {