After installing the Android L Developer Preview SDK earlier today I wanted to make my app compatible with both Android L and older versions such as Jelly Bean. My app uses
See my post to /r/AndroidDev here that provides a workaround.