| 54 | } |
| 55 | |
| 56 | std::string getResultCode(const Bundle& bundle) { |
| 57 | std::string result; |
| 58 | bundle.optString(RESULT_BUNDLE_CODE_INDEX, result); |
| 59 | return result; |
| 60 | } |
| 61 | |
| 62 | void setResultName(Bundle& bundle, const std::string& name) { |
| 63 | bundle.putString(RESULT_BUNDLE_NAME_INDEX, name); |