soomla/android-store — pull request #38 by HolymarsHsieh (2014-03-28 08:16:48+00:00)
Title: Handle error if IabActivity is destroyed during purchase flow.

The IabActivity may be destroyed by some abnormal operations.
(For example, pressing home button then clicking app icon to re-enter it.)
The operations will cause Android clean the activity stack if the application lauchMode is 'SingleTask'.

If the activity stack is cleared during purchase flow, we shall handle it and fire an unexpected error.