fix setNetworkReachable

This commit is contained in:
Simon Morlat 2010-11-29 12:01:44 +01:00
parent cf06d2af7b
commit 11642ff77c
6 changed files with 9 additions and 9 deletions

View file

@ -68,7 +68,8 @@
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity android:name=".VideoCallActivity" android:theme="@android:style/Theme.NoTitleBar.Fullscreen"> <activity android:name=".VideoCallActivity" android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:screenOrientation="nosensor">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
</intent-filter> </intent-filter>

Binary file not shown.

Binary file not shown.

View file

@ -183,9 +183,11 @@ public abstract class AndroidCameraRecord {
private static void stopPreview() { private static void stopPreview() {
camera.setPreviewCallback(null); // TODO check if used whatever the SDK version if (camera!=null){
camera.stopPreview(); camera.setPreviewCallback(null); // TODO check if used whatever the SDK version
camera.release(); camera.stopPreview();
camera.release();
}
camera=null; camera=null;
previewStarted = false; previewStarted = false;
} }

View file

@ -80,3 +80,4 @@ public class AndroidVideoWindowImpl {
} }
} }

View file

@ -200,7 +200,7 @@ class LinphoneCoreImpl implements LinphoneCore {
throw new RuntimeException("object already destroyed"); throw new RuntimeException("object already destroyed");
} }
} }
public void setNetworkStateReachable(boolean isReachable) { public void setNetworkReachable(boolean isReachable) {
setNetworkStateReachable(nativePtr,isReachable); setNetworkStateReachable(nativePtr,isReachable);
} }
public void setPlaybackGain(float gain) { public void setPlaybackGain(float gain) {
@ -415,8 +415,4 @@ class LinphoneCoreImpl implements LinphoneCore {
// TODO Auto-generated method stub // TODO Auto-generated method stub
return false; return false;
} }
public void setNetworkReachable(boolean isReachable) {
// TODO Auto-generated method stub
}
} }