a bug on Gingerbread can cause inconsistent value in orientation, possibly http://code.google.com/p/android/issues/detail?id=13189
versionCode for release