fixed orientation doesn't work

This commit is contained in:
Simon Morlat 2010-11-29 15:06:17 +01:00
parent d6402dcbc6
commit 0e3fb02e22

View file

@ -48,10 +48,16 @@ public class AndroidVideoWindowImpl {
}
if (mListener!=null)
mListener.onSurfaceDestroyed(AndroidVideoWindowImpl.this);
Log.w("Linphone", "Video display surface destroyed");
Log.d("Linphone", "Video display surface destroyed");
}
});
}
static final int LANDSCAPE=0;
static final int PORTRAIT=1;
public void requestOrientation(int orientation){
//Surface.setOrientation(0, orientation==LANDSCAPE ? 1 : 0);
//Log.d("Linphone", "Orientation changed.");
}
public void setListener(VideoWindowListener l){
mListener=l;
}