diff --git a/.gitmodules b/.gitmodules index 03f8848b5..ef13a0bdc 100644 --- a/.gitmodules +++ b/.gitmodules @@ -88,9 +88,6 @@ path = submodules/externals/libmatroska url = https://github.com/Matroska-Org/foundation-source.git ignore = dirty -[submodule "submodules/externals/webrtc"] - path = submodules/externals/webrtc - url = git://git.linphone.org/webrtc.git [submodule "submodules/mscodec2"] path = submodules/mscodec2 - url = git://git.linphone.org/mscodec2.git + url = git://git.linphone.org/mscodec2.git \ No newline at end of file diff --git a/AndroidManifest.xml b/AndroidManifest.xml index e2a2d18b5..82ad45dec 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1,9 +1,10 @@ - + android:versionCode="2599" android:installLocation="auto"> + + @@ -127,7 +128,7 @@ + android:screenOrientation="behind"> diff --git a/Makefile b/Makefile index a4d8f4917..275325f34 100644 --- a/Makefile +++ b/Makefile @@ -43,7 +43,7 @@ BUILD_NON_FREE_CODECS=1 ENABLE_OPENH264_DECODER=1 BUILD_UPNP=1 BUILD_AMRNB=full # 0, light or full -BUILD_AMRWB=1 +BUILD_AMRWB=0 # Has text relocation issue, don't use when targetting API 23 for now BUILD_ZRTP=1 BUILD_SILK=1 BUILD_TUNNEL=0 @@ -187,7 +187,7 @@ $(FFMPEG_BUILD_DIR)/arm/libavcodec/libavcodec-linphone-arm.so: $(FFMPEG_BUILD_DI $(FFMPEG_BUILD_DIR)/arm/libffmpeg-linphone-arm.so: $(FFMPEG_BUILD_DIR)/arm/libavcodec/libavcodec-linphone-arm.so cd $(FFMPEG_BUILD_DIR)/arm && \ rm libavcodec/log2_tab.o && \ - $(ARM_TOOLCHAIN_PATH)gcc -lm -lz --sysroot=$(ARM_SYSROOT) -Wl,--no-undefined -Wl,-z,noexecstack -shared libavutil/*.o libavutil/arm/*.o libavcodec/*.o libavcodec/arm/*.o libswscale/*.o -o libffmpeg-linphone-arm.so + $(ARM_TOOLCHAIN_PATH)gcc -lm -lz --sysroot=$(ARM_SYSROOT) -Wl,-soname,libffmpeg-linphone-arm.so,--no-undefined -Wl,-z,noexecstack -shared libavutil/*.o libavutil/arm/*.o libavcodec/*.o libavcodec/arm/*.o libswscale/*.o -o libffmpeg-linphone-arm.so $(FFMPEG_BUILD_DIR)/x86/config.h: mkdir -p $(FFMPEG_BUILD_DIR)/x86 && \ @@ -204,7 +204,7 @@ $(FFMPEG_BUILD_DIR)/x86/libavcodec/libavcodec-linphone-x86.so: $(FFMPEG_BUILD_DI $(FFMPEG_BUILD_DIR)/x86/libffmpeg-linphone-x86.so: $(FFMPEG_BUILD_DIR)/x86/libavcodec/libavcodec-linphone-x86.so cd $(FFMPEG_BUILD_DIR)/x86 && \ rm libavcodec/log2_tab.o && \ - $(X86_TOOLCHAIN_PATH)gcc -lm -lz --sysroot=$(X86_SYSROOT) -Wl,--no-undefined -Wl,-z,noexecstack -shared libavutil/*.o libavutil/x86/*.o libavcodec/*.o libavcodec/x86/*.o libswscale/*.o -o libffmpeg-linphone-x86.so + $(X86_TOOLCHAIN_PATH)gcc -lm -lz --sysroot=$(X86_SYSROOT) -Wl,-soname,libffmpeg-linphone-x86.so,--no-undefined -Wl,-z,noexecstack -shared libavutil/*.o libavutil/x86/*.o libavcodec/*.o libavcodec/x86/*.o libswscale/*.o -o libffmpeg-linphone-x86.so build-ffmpeg: $(BUILD_FFMPEG_DEPS) @@ -366,9 +366,6 @@ clean-vpx: rm -rf submodules/externals/build/libvpx/arm && \ rm -rf submodules/externals/build/libvpx/x86 - - - #srtp $(TOPDIR)/submodules/externals/srtp/config.h : $(TOPDIR)/submodules/externals/build/srtp/config.h @cd $(TOPDIR)/submodules/externals/srtp/ && \ @@ -457,7 +454,6 @@ MEDIASTREAMER2_OPTIONS = $(GENERATE_OPTIONS) BUILD_MEDIASTREAMER2_SDK=1 generate-libs: prepare-sources javah $(NDK_PATH)/ndk-build $(LIBLINPHONE_OPTIONS) -j$(NUMCPUS) TARGET_PLATFORM=$(NDKBUILD_TARGET) - ./bsed.sh # Fix path to libffmpeg library in linphone.so because of Android M Preview issue: https://code.google.com/p/android-developer-preview/issues/detail?id=2239 generate-mediastreamer2-libs: prepare-sources @cd $(TOPDIR)/submodules/linphone/mediastreamer2/java && \ diff --git a/jni/Android.mk b/jni/Android.mk index 4a2928c3e..fbb7fb5a0 100755 --- a/jni/Android.mk +++ b/jni/Android.mk @@ -166,9 +166,9 @@ WEBRTC_BUILD_NEON_LIBS=true endif $(info $(TARGET_ARCH_ABI): Build AECM from WebRTC) -include $(linphone-root-dir)/submodules/externals/build/webrtc/system_wrappers/Android.mk -include $(linphone-root-dir)/submodules/externals/build/webrtc/modules/audio_processing/utility/Android.mk -include $(linphone-root-dir)/submodules/externals/build/webrtc/modules/audio_processing/aecm/Android.mk +include $(linphone-root-dir)/submodules/mswebrtc/build/android/system_wrappers/Android.mk +include $(linphone-root-dir)/submodules/mswebrtc/build/android/modules/audio_processing/utility/Android.mk +include $(linphone-root-dir)/submodules/mswebrtc/build/android/modules/audio_processing/aecm/Android.mk endif # iSAC @@ -180,12 +180,12 @@ WEBRTC_BUILD_NEON_LIBS=true endif $(info $(TARGET_ARCH_ABI): Build iSAC plugin for mediastreamer2) -include $(linphone-root-dir)/submodules/externals/build/webrtc/modules/audio_coding/codecs/isac/fix/source/Android.mk +include $(linphone-root-dir)/submodules/mswebrtc/build/android/modules/audio_coding/codecs/isac/fix/source/Android.mk endif # common modules for ISAC and AECM ifneq ($(BUILD_WEBRTC_AECM)$(BUILD_WEBRTC_ISAC),00) $(info $(TARGET_ARCH_ABI): Build common modules for iSAC and AECM ($(BUILD_WEBRTC_AECM)$(BUILD_WEBRTC_ISAC))) -include $(linphone-root-dir)/submodules/externals/build/webrtc/common_audio/signal_processing/Android.mk +include $(linphone-root-dir)/submodules/mswebrtc/build/android/common_audio/signal_processing/Android.mk include $(linphone-root-dir)/submodules/mswebrtc/Android.mk endif diff --git a/liblinphone_tester/src/org/linphone/tester/WrapperTester.java b/liblinphone_tester/src/org/linphone/tester/WrapperTester.java index c84ed980b..7635a67ba 100644 --- a/liblinphone_tester/src/org/linphone/tester/WrapperTester.java +++ b/liblinphone_tester/src/org/linphone/tester/WrapperTester.java @@ -32,7 +32,7 @@ public class WrapperTester extends AndroidTestCase { mCore.enableVideoMulticast(false); Assert.assertEquals(false, mCore.videoMulticastEnabled()); - LinphoneCallParams params = mCore.createDefaultCallParameters(); + LinphoneCallParams params = mCore.createCallParams(null); params.enableAudioMulticast(true); Assert.assertEquals(true, params.audioMulticastEnabled()); params.enableAudioMulticast(false); diff --git a/res/drawable-xhdpi/avatar_chat_mask.png b/res/drawable-xhdpi/avatar_chat_mask.png new file mode 100644 index 000000000..43d40040e Binary files /dev/null and b/res/drawable-xhdpi/avatar_chat_mask.png differ diff --git a/res/drawable-xhdpi/linphone_orange.png b/res/drawable-xhdpi/linphone_logo_orange.png similarity index 100% rename from res/drawable-xhdpi/linphone_orange.png rename to res/drawable-xhdpi/linphone_logo_orange.png diff --git a/res/drawable-xhdpi/linphone_notification_icon.png b/res/drawable-xhdpi/linphone_notification_icon.png new file mode 100644 index 000000000..fa36e433e Binary files /dev/null and b/res/drawable-xhdpi/linphone_notification_icon.png differ diff --git a/res/drawable-xhdpi/logo.png b/res/drawable-xhdpi/logo.png deleted file mode 100644 index ff1962516..000000000 Binary files a/res/drawable-xhdpi/logo.png and /dev/null differ diff --git a/res/drawable/avatar_mask_chat.xml b/res/drawable/avatar_mask_chat.xml deleted file mode 100644 index 200072ea0..000000000 --- a/res/drawable/avatar_mask_chat.xml +++ /dev/null @@ -1,4 +0,0 @@ - - diff --git a/res/drawable/chat_message_delivered.png b/res/drawable/chat_message_delivered.png deleted file mode 100644 index f8edc012d..000000000 Binary files a/res/drawable/chat_message_delivered.png and /dev/null differ diff --git a/res/drawable/chat_message_inprogress.png b/res/drawable/chat_message_inprogress.png deleted file mode 100644 index f725a3eb9..000000000 Binary files a/res/drawable/chat_message_inprogress.png and /dev/null differ diff --git a/res/drawable/chat_message_not_delivered.png b/res/drawable/chat_message_not_delivered.png deleted file mode 100644 index c174df390..000000000 Binary files a/res/drawable/chat_message_not_delivered.png and /dev/null differ diff --git a/res/drawable/conf_status_paused.png b/res/drawable/conf_status_paused.png deleted file mode 100644 index 2d6a3cb4d..000000000 Binary files a/res/drawable/conf_status_paused.png and /dev/null differ diff --git a/res/drawable/conf_unhook.png b/res/drawable/conf_unhook.png deleted file mode 100644 index 2f141582d..000000000 Binary files a/res/drawable/conf_unhook.png and /dev/null differ diff --git a/res/drawable/conf_video.png b/res/drawable/conf_video.png deleted file mode 100644 index 6e7616404..000000000 Binary files a/res/drawable/conf_video.png and /dev/null differ diff --git a/res/drawable/led_connected.png b/res/drawable/led_connected.png deleted file mode 100644 index e788e2b07..000000000 Binary files a/res/drawable/led_connected.png and /dev/null differ diff --git a/res/drawable/led_disconnected.png b/res/drawable/led_disconnected.png deleted file mode 100644 index 11455fb1b..000000000 Binary files a/res/drawable/led_disconnected.png and /dev/null differ diff --git a/res/drawable/led_error.png b/res/drawable/led_error.png deleted file mode 100644 index e7617832b..000000000 Binary files a/res/drawable/led_error.png and /dev/null differ diff --git a/res/drawable/led_inprogress.png b/res/drawable/led_inprogress.png deleted file mode 100644 index d2fe9da56..000000000 Binary files a/res/drawable/led_inprogress.png and /dev/null differ diff --git a/res/drawable/linphone_banner.png b/res/drawable/linphone_banner.png deleted file mode 100644 index 0abff3ebf..000000000 Binary files a/res/drawable/linphone_banner.png and /dev/null differ diff --git a/res/drawable/logo_linphone_57x57.png b/res/drawable/logo_linphone_57x57.png deleted file mode 100644 index 40c1c98ff..000000000 Binary files a/res/drawable/logo_linphone_57x57.png and /dev/null differ diff --git a/res/drawable/popup.9.png b/res/drawable/popup.9.png deleted file mode 100644 index 212f1e4aa..000000000 Binary files a/res/drawable/popup.9.png and /dev/null differ diff --git a/res/drawable/status_green.png b/res/drawable/status_green.png deleted file mode 100644 index 1a39a4242..000000000 Binary files a/res/drawable/status_green.png and /dev/null differ diff --git a/res/drawable/status_level.xml b/res/drawable/status_level.xml index 340186968..2852a9c03 100644 --- a/res/drawable/status_level.xml +++ b/res/drawable/status_level.xml @@ -1,7 +1,7 @@ - - - - + + + + diff --git a/res/drawable/status_offline.png b/res/drawable/status_offline.png deleted file mode 100644 index 243c5c069..000000000 Binary files a/res/drawable/status_offline.png and /dev/null differ diff --git a/res/drawable/status_orange.png b/res/drawable/status_orange.png deleted file mode 100644 index f2e66d34d..000000000 Binary files a/res/drawable/status_orange.png and /dev/null differ diff --git a/res/drawable/status_red.png b/res/drawable/status_red.png deleted file mode 100644 index e7a0ec98a..000000000 Binary files a/res/drawable/status_red.png and /dev/null differ diff --git a/res/drawable/zrtp_popup.9.png b/res/drawable/zrtp_popup.9.png deleted file mode 100644 index 8d117ff49..000000000 Binary files a/res/drawable/zrtp_popup.9.png and /dev/null differ diff --git a/res/layout-land/assistant_linphone_login.xml b/res/layout-land/assistant_linphone_login.xml new file mode 100644 index 000000000..da2143e02 --- /dev/null +++ b/res/layout-land/assistant_linphone_login.xml @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +