Permalink
Browse files

android: don't set orientation from cpp on resume,

so java only sets it if it's been set programatically.
Closes #1662
  • Loading branch information...
1 parent 696fe38 commit 23a4f894d375c8ba6040262c9bd6fef272851ebd @arturoc arturoc committed Nov 4, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 addons/ofxAndroid/src/ofAppAndroidWindow.cpp
@@ -318,7 +318,6 @@ Java_cc_openframeworks_OFAndroid_onSurfaceCreated( JNIEnv* env, jclass thiz ){
androidApp->reloadTextures();
}
ofSetStyle(ofGetStyle());
- ofSetOrientation(ofGetOrientation());
surfaceDestroyed = false;
}

0 comments on commit 23a4f89

Please sign in to comment.