Fix a crash on Android 2.x that got reported.