From ab8a2a4ea50acab171cabd0d8d0c5407b65702e7 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Fri, 15 Nov 2013 16:11:24 +0100 Subject: [PATCH] Route audio to speaker as default on tablets --- src/org/linphone/InCallActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/org/linphone/InCallActivity.java b/src/org/linphone/InCallActivity.java index bb018a2f7..f433eda20 100644 --- a/src/org/linphone/InCallActivity.java +++ b/src/org/linphone/InCallActivity.java @@ -124,6 +124,7 @@ public class InCallActivity extends FragmentActivity implements isVideoEnabled = getIntent().getExtras() != null && getIntent().getExtras().getBoolean("VideoEnabled"); isTransferAllowed = getApplicationContext().getResources().getBoolean(R.bool.allow_transfers); showCallListInVideo = getApplicationContext().getResources().getBoolean(R.bool.show_current_calls_above_video); + isSpeakerEnabled = getResources().getBoolean(R.bool.isTablet); // Speaker default value to true if tablet, else false isAnimationDisabled = getApplicationContext().getResources().getBoolean(R.bool.disable_animations) || !LinphonePreferences.instance().areAnimationsEnabled(); cameraNumber = AndroidCameraConfiguration.retrieveCameras().length;