Handle a crash on some ICS+ devices
Fixes Maven build