How to distinguish what cancelled Game Services sign in?
<p>Using <a href="https://github.com/playgameservices/android-basic-samples/blob/master/BasicSamples/libraries/BaseGameUtils/src/main/java/com/google/example/games/basegameutils/GameHelper.java" rel="nofollow">GameHelper</a> in my game, I paid attention that onActivityResult() if I get Activity.RESULT_CANCELED - the assumption is that user cancelled the sign in. In the other hand, according to Android documentation:</p>

<blockquote>
  <p>If a child activity fails for any reason (such as crashing), the parent activity will receive a result with the code RESULT_CANCELED.</p>
</blockquote>

<p>For me, it seems that in some old devices, I get RESULT_CANCELED as a result of some crash on low connectivity, and it makes me some issues.</p>

<p>The question is - can be RESULT_CANCELED as a result of crash, and if it can, how can i differ between user cancelled and crash?
Thanks in advance</p>