Fix android crash on MIUI

Phone: Cubot S208 running MIUI rom.

Install androidgcs from market or from self built apk. If run immediately from installer or market it runs without issues.
If run from the home screen (where all the apps are, the screen I get after pressing home) both apps crash.
Running from the recent apps drawer both apps crash.
Running the market version from the icon it creates on the desktop (?) it runs ok.
Creating a similar icon with the self built apk and using it it crashes.

Some googling gave different app sleeping methods as possible culprit with some more or less complicated workarounds. 
This changeset seems to fix the issue, and I don't think it breaks anything. 
Could you add a ```Log.d(TAG, b.toString())``` and capture the output with adb? I'd like to see what is in that intent. It might be that that android launches programs with extras that we should screen out.

TBH looking at that code it should probably check that ```b != null && b doesn't have ContentFrag```.