summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2011-09-06 16:54:09 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-09-06 16:54:09 -0700
commit534dfa4b8aeae881a24b3d5dfa6927f15bb37b29 (patch)
treebdd641ec4cb195c31b6496b18b70b0a570ebd618 /src
parent19a6f07a79d50c8a52013d77cf7929a3f98191e6 (diff)
parentc3c46d7731006ba78497c61aa4fec34d58ac182e (diff)
downloadpackages_apps_Browser-534dfa4b8aeae881a24b3d5dfa6927f15bb37b29.zip
packages_apps_Browser-534dfa4b8aeae881a24b3d5dfa6927f15bb37b29.tar.gz
packages_apps_Browser-534dfa4b8aeae881a24b3d5dfa6927f15bb37b29.tar.bz2
Merge "Clear accounts after cursors are closed"
Diffstat (limited to 'src')
-rw-r--r--src/com/android/browser/BrowserBookmarksPage.java1
-rw-r--r--src/com/android/browser/view/BookmarkExpandableView.java2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/browser/BrowserBookmarksPage.java b/src/com/android/browser/BrowserBookmarksPage.java
index bf96597..e2447e8 100644
--- a/src/com/android/browser/BrowserBookmarksPage.java
+++ b/src/com/android/browser/BrowserBookmarksPage.java
@@ -393,6 +393,7 @@ public class BrowserBookmarksPage extends Fragment implements View.OnCreateConte
public void onDestroyView() {
super.onDestroyView();
mGrid.setBreadcrumbController(null);
+ mGrid.clearAccounts();
LoaderManager lm = getLoaderManager();
lm.destroyLoader(LOADER_ACCOUNTS);
for (int id : mBookmarkAdapters.keySet()) {
diff --git a/src/com/android/browser/view/BookmarkExpandableView.java b/src/com/android/browser/view/BookmarkExpandableView.java
index edc497b..44a123a 100644
--- a/src/com/android/browser/view/BookmarkExpandableView.java
+++ b/src/com/android/browser/view/BookmarkExpandableView.java
@@ -345,7 +345,7 @@ public class BookmarkExpandableView extends ExpandableListView
@Override
public void onInvalidated() {
- notifyDataSetChanged();
+ notifyDataSetInvalidated();
}
};