Working around this bug: https://code.google.com/p/android/issues/detail?id=82157