IabHelper.startSetup no longer block on the calling (main) thread. The javadoc stated falsely that it was safe to call from the UI Thread but, though it was asynchrounous, it explicitly switched back to the calling thread and performed heavy work.
This was solved by moving all heavy work to a background thread that was previously performed in the onServiceConnected callback inside IabHelper.startSetup. Please look at the IabHelper.startSetupIabAsync and where it's called for reference.
Due to encoding issue the diff will show changes to the whole file (IabHelper.java).
IabHelper.startSetup no longer block on the calling (main) thread. The javadoc stated falsely that it was safe to call from the UI Thread but, though it was asynchrounous, it explicitly switched back to the calling thread and performed heavy work.
This was solved by moving all heavy work to a background thread that was previously performed in the onServiceConnected callback inside IabHelper.startSetup. Please look at the IabHelper.startSetupIabAsync and where it's called for reference.
Due to encoding issue the diff will show changes to the whole file (IabHelper.java).