From 1baab5b59001febd71caaa7d561e97354f1ac5ae Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Mon, 8 Apr 2013 11:56:04 +0200 Subject: [PATCH 1/8] Increased touch area for history detail/delete button --- res/layout/history_cell_simple.xml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/res/layout/history_cell_simple.xml b/res/layout/history_cell_simple.xml index 6e379e70c..5f07ba7de 100644 --- a/res/layout/history_cell_simple.xml +++ b/res/layout/history_cell_simple.xml @@ -2,8 +2,8 @@ - + android:adjustViewBounds="true" + android:contentDescription="@string/content_description_detail" + android:paddingLeft="5dp" + android:paddingRight="5dp" + android:src="@drawable/list_detail" /> - + android:visibility="gone" /> From 59dc202150a61dae4b46d908f4b38dff46fffbea Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Mon, 8 Apr 2013 12:01:53 +0200 Subject: [PATCH 2/8] Fix crash in chat list while scrolling --- src/org/linphone/ChatFragment.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/org/linphone/ChatFragment.java b/src/org/linphone/ChatFragment.java index 1e1b369ce..39377131a 100644 --- a/src/org/linphone/ChatFragment.java +++ b/src/org/linphone/ChatFragment.java @@ -324,7 +324,8 @@ public class ChatFragment extends Fragment implements OnClickListener, LinphoneC @Override public void run() { //Scroll to latest saw message - messagesScrollView.scrollTo(0, messagesLayout.getChildAt(MESSAGES_STEP-1).getBottom()); + if (messagesScrollView != null && messagesLayout != null && messagesLayout.getChildCount() >= MESSAGES_STEP-1) + messagesScrollView.scrollTo(0, messagesLayout.getChildAt(MESSAGES_STEP-1).getBottom()); } }, 300); } From ba7b93d1564258a0faf5616c16e2795bbc4138e1 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Mon, 8 Apr 2013 12:11:16 +0200 Subject: [PATCH 3/8] Fix incall numpad stretched for portrait orientation --- res/layout-small/incall.xml | 5 ++--- res/layout/incall.xml | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/res/layout-small/incall.xml b/res/layout-small/incall.xml index 011a61029..7bbdfe504 100644 --- a/res/layout-small/incall.xml +++ b/res/layout-small/incall.xml @@ -47,11 +47,10 @@ android:id="@+id/numpad" android:background="@drawable/dialer_alt_background" android:layout_width="wrap_content" - android:layout_height="match_parent" + android:layout_height="wrap_content" android:visibility="invisible" android:layout_centerHorizontal="true" - android:layout_below="@id/switchCamera" - android:layout_marginBottom="150dp" /> + android:layout_centerVertical="true" /> + android:layout_centerVertical="true"/> Date: Mon, 8 Apr 2013 12:44:53 +0200 Subject: [PATCH 4/8] Workaround to ensure the status bar is displayed, needed on some devices --- src/org/linphone/LinphoneActivity.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/org/linphone/LinphoneActivity.java b/src/org/linphone/LinphoneActivity.java index db4ab909f..205c53672 100644 --- a/src/org/linphone/LinphoneActivity.java +++ b/src/org/linphone/LinphoneActivity.java @@ -232,12 +232,12 @@ public class LinphoneActivity extends FragmentActivity implements return; } - findViewById(R.id.status).setVisibility(View.VISIBLE); if (statusFragment != null && !statusFragment.isVisible()) { // Hack to ensure statusFragment is visible after coming back to // dialer from chat statusFragment.getView().setVisibility(View.VISIBLE); } + findViewById(R.id.status).setVisibility(View.VISIBLE); findViewById(R.id.fragmentContainer).setPadding(0, LinphoneUtils.pixelsToDpi(getResources(), 40), 0, 0); } @@ -1384,6 +1384,9 @@ public class LinphoneActivity extends FragmentActivity implements showStatusBar(); reloadConfig(); updateAnimationsState(); + } else if (currentFragment == FragmentsAvailable.CHATLIST) { + //Hack to ensure display the status bar on some devices + showStatusBar(); } } } else if (keyCode == KeyEvent.KEYCODE_MENU && statusFragment != null) { From ac5064348da4c512dbedd2c7ba996219d1e12874 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Tue, 9 Apr 2013 15:53:40 +0200 Subject: [PATCH 5/8] update linphone submodule --- submodules/linphone | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/linphone b/submodules/linphone index d630e0a99..374f170fb 160000 --- a/submodules/linphone +++ b/submodules/linphone @@ -1 +1 @@ -Subproject commit d630e0a99decbed3e9a5437b680801dd236beb40 +Subproject commit 374f170fb2a06ca20fe882e00958adc795201134 From a316e5c2d298e17fa7bd8f2a5e71cddaf7dcf13b Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Tue, 9 Apr 2013 17:34:45 +0200 Subject: [PATCH 6/8] update silk and ilbc plugins --- submodules/msilbc | 2 +- submodules/mssilk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/submodules/msilbc b/submodules/msilbc index 32a39741b..f9f77d4fe 160000 --- a/submodules/msilbc +++ b/submodules/msilbc @@ -1 +1 @@ -Subproject commit 32a39741b64d74999134f5e6425609c4cfff5daf +Subproject commit f9f77d4fe04cd51aa3ca4b3b35ac51667c48139e diff --git a/submodules/mssilk b/submodules/mssilk index 391b6d6b0..670457dbd 160000 --- a/submodules/mssilk +++ b/submodules/mssilk @@ -1 +1 @@ -Subproject commit 391b6d6b0fdf6854e5a25f287c4d8461730a1d40 +Subproject commit 670457dbd60664e757a5f0d91eba77d143877c72 From 94837a9f2b141968cf74a2ece5a6d3d178b900da Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Wed, 10 Apr 2013 10:17:18 +0200 Subject: [PATCH 7/8] update mssilk (to repair build) --- submodules/mssilk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/mssilk b/submodules/mssilk index 670457dbd..f21cf1f03 160000 --- a/submodules/mssilk +++ b/submodules/mssilk @@ -1 +1 @@ -Subproject commit 670457dbd60664e757a5f0d91eba77d143877c72 +Subproject commit f21cf1f038496c14c66f2387df9542c5f5e28cf1 From 309c4c2ad591850952a4cb908c504959f28e16eb Mon Sep 17 00:00:00 2001 From: Yann Diorcet Date: Wed, 10 Apr 2013 14:06:06 +0200 Subject: [PATCH 8/8] Update linphone submodule --- submodules/linphone | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/linphone b/submodules/linphone index 374f170fb..043f9122f 160000 --- a/submodules/linphone +++ b/submodules/linphone @@ -1 +1 @@ -Subproject commit 374f170fb2a06ca20fe882e00958adc795201134 +Subproject commit 043f9122fdc37c0c544357735429f4c114241dec