From 641294975d94c67ade65a1ecea59c3a786c6a577 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Tue, 18 Dec 2012 16:16:55 +0100 Subject: [PATCH] Fix thread issue + updated README --- README | 2 +- src/org/linphone/InCallActivity.java | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README b/README index f4e9f6fa0..5d2094ef6 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ **************************** To build liblinphone for Android, you must: -0) download the Android sdk with platform-tools and tools updated to latest revision, then add both 'tools' and 'platform-tools' folders in your path. +0) download the Android sdk with platform-tools and tools updated to latest revision (at least API 16 is needed), then add both 'tools' and 'platform-tools' folders in your path. 1) download the Android ndk (>=r8b) from google and add it to your path. 2) install the autotools: autoconf, automake, aclocal, libtoolize pkgconfig 2bis) on some 64 bits systems you'll need the ia32-libs package diff --git a/src/org/linphone/InCallActivity.java b/src/org/linphone/InCallActivity.java index eea2d6f0b..a888ab881 100644 --- a/src/org/linphone/InCallActivity.java +++ b/src/org/linphone/InCallActivity.java @@ -996,7 +996,11 @@ public class InCallActivity extends FragmentActivity implements // } } - transfer.setEnabled(LinphoneManager.getLc().getCurrentCall() != null); + mHandler.post(new Runnable() { + public void run() { + transfer.setEnabled(LinphoneManager.getLc().getCurrentCall() != null); + } + }); } private void showAcceptCallUpdateDialog() {