mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
fixed orientation doesn't work
This commit is contained in:
parent
d6402dcbc6
commit
0e3fb02e22
1 changed files with 7 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue