Fix typo for camera enabling code (add missing '!' in test)
This commit is contained in:
parent
77898e052d
commit
5e1943f3b7
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ public class VideoCallActivity extends SoftVolumeActivity {
|
||||||
// Before creating the graph, the orientation must be known to LC => this is done here
|
// Before creating the graph, the orientation must be known to LC => this is done here
|
||||||
LinphoneManager.getLc().setDeviceRotation(AndroidVideoWindowImpl.rotationToAngle(getWindowManager().getDefaultDisplay().getRotation()));
|
LinphoneManager.getLc().setDeviceRotation(AndroidVideoWindowImpl.rotationToAngle(getWindowManager().getDefaultDisplay().getRotation()));
|
||||||
|
|
||||||
if (LinphoneManager.getInstance().shareMyCamera())
|
if (!LinphoneManager.getInstance().shareMyCamera())
|
||||||
LinphoneManager.getInstance().sendStaticImage(false);
|
LinphoneManager.getInstance().sendStaticImage(false);
|
||||||
PowerManager pm = (PowerManager)getSystemService(Context.POWER_SERVICE);
|
PowerManager pm = (PowerManager)getSystemService(Context.POWER_SERVICE);
|
||||||
mWakeLock = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK|PowerManager.ON_AFTER_RELEASE,Log.TAG);
|
mWakeLock = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK|PowerManager.ON_AFTER_RELEASE,Log.TAG);
|
||||||
|
|
Loading…
Reference in a new issue