Updated for Android L Developer Preview.