onActivityResult 要加判断

A-->B 后  B返回键返回到A 也在调用OnactivityResult方法 所以要对resultCode 判断调用方法

原文地址:https://www.cnblogs.com/childyngy/p/5503979.html