Fix bad pattern
This commit is contained in:
parent
6d530bd16f
commit
cb37692b7a
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class AndroidCameraConf9 implements AndroidCameraConf {
|
||||||
public int getCameraOrientation(int cameraId) {
|
public int getCameraOrientation(int cameraId) {
|
||||||
android.hardware.Camera.CameraInfo info = new android.hardware.Camera.CameraInfo();
|
android.hardware.Camera.CameraInfo info = new android.hardware.Camera.CameraInfo();
|
||||||
Camera.getCameraInfo(cameraId, info);
|
Camera.getCameraInfo(cameraId, info);
|
||||||
Log.d(LinphoneManager.TAG, String.format("Camera info for %i: orientation=%i returned=%i ",
|
Log.d(LinphoneManager.TAG, String.format("Camera info for %d: orientation=%d returned=%d ",
|
||||||
cameraId,
|
cameraId,
|
||||||
info.orientation,
|
info.orientation,
|
||||||
(info.orientation - 90) %360));
|
(info.orientation - 90) %360));
|
||||||
|
|
Loading…
Reference in a new issue