Fix NPE in Webdialog for some Motorola 2.2 devices

The web authorization dialog crashes on some Android 2.2 Motorola devices with a NPE.
This fix prevents the NPE.

https://groups.google.com/forum/?fromgroups=#!topic/android-developers/ktbwY2gtLKQ