bug 836759 Add returnValue param to activities