From 3f45de559f0dd265214f2a7c5792fc9aa322441f Mon Sep 17 00:00:00 2001 From: Amith Yamasani Date: Thu, 22 Sep 2011 14:34:17 -0700 Subject: [PATCH] Don't append list of accounts every time we return to this screen. Bug: 5355920 Remove the contents of the layout before adding the accounts. Change-Id: Ic9256140f892968b2388f47d982eaada720df892 --- res/layout/master_clear.xml | 5 ++++- src/com/android/settings/MasterClear.java | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/res/layout/master_clear.xml b/res/layout/master_clear.xml index e15169ed179..268daa003ed 100644 --- a/res/layout/master_clear.xml +++ b/res/layout/master_clear.xml @@ -51,7 +51,10 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="vertical" - android:visibility="gone" /> + android:visibility="gone"> + +