Fix crash on android 1.6 device.