Restore compile-level compatibility with Android API 2 (Android 1.1)