Added support for Android API Level 10