kaeppler/WhichScreenAmI — pull request #2 by mlc (2012-10-08 22:03:00+00:00)
Title: fix compatibility with Android 2.1

There's no `Configuration.uiMode` field on Android 2.1, so the code crashes. This fixes the issue, and the app runs again. I haven't tried it on pre-2.x versions of Android, though.