fix armv5 execution
This commit is contained in:
parent
c3b0980493
commit
6d343cfc82
2 changed files with 4 additions and 3 deletions
|
@ -292,8 +292,9 @@ public class LinphoneActivity extends TabActivity implements SensorEventListener
|
|||
}
|
||||
public void onSensorChanged(SensorEvent event) {
|
||||
if (event==null || event.sensor == mAccelerometer) {
|
||||
// WARNING : getRotation() is SDK > 5
|
||||
int rot = AndroidVideoWindowImpl.rotationToAngle(getWindowManager().getDefaultDisplay().getRotation());
|
||||
int rot;
|
||||
|
||||
rot=getWindowManager().getDefaultDisplay().getOrientation();
|
||||
|
||||
if (rot != previousRotation) {
|
||||
Log.d("New device rotation: ", rot);
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 51ee80ec2b0ce934e44c73ad4931ca98a6798fa8
|
||||
Subproject commit ef7dc050f57967cb63a0b2e6a8d294ca504816b8
|
Loading…
Reference in a new issue