From 0dcc1a6d543a9e63681627a8132bbc437178b496 Mon Sep 17 00:00:00 2001
From: akwizgran <michael@briarproject.org>
Date: Mon, 15 Apr 2013 15:19:37 +0100
Subject: [PATCH] Redraw the contact list when contacts connect or disconnect.

---
 .../src/net/sf/briar/android/contact/ContactListActivity.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/briar-android/src/net/sf/briar/android/contact/ContactListActivity.java b/briar-android/src/net/sf/briar/android/contact/ContactListActivity.java
index b6efc8ea78..ef7866fb94 100644
--- a/briar-android/src/net/sf/briar/android/contact/ContactListActivity.java
+++ b/briar-android/src/net/sf/briar/android/contact/ContactListActivity.java
@@ -190,7 +190,7 @@ implements OnClickListener, DatabaseListener, ConnectionListener {
 							LOG.info("Updating connection time");
 						item.setConnected(connected);
 						item.setLastConnected(System.currentTimeMillis());
-						list.invalidate();
+						list.invalidateViews();
 						return;
 					}
 				}
-- 
GitLab