summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2010-12-20 11:44:09 -0800
committerDianne Hackborn <hackbod@google.com>2010-12-20 12:22:59 -0800
commit71e76c71d8fb70433a60521dfdbcd4e7a8762ef8 (patch)
tree4ae07207a8363cf9269c8e2c2c5bf5662fc26a10 /src
parentc2df8342039829c868b30ad3bc3f865e26a04b1c (diff)
downloadpackages_apps_Browser-71e76c71d8fb70433a60521dfdbcd4e7a8762ef8.zip
packages_apps_Browser-71e76c71d8fb70433a60521dfdbcd4e7a8762ef8.tar.gz
packages_apps_Browser-71e76c71d8fb70433a60521dfdbcd4e7a8762ef8.tar.bz2
Update to new loader APIs.
Change-Id: I07914f5c1314509ecaec1a172e1f1d67f4be6641
Diffstat (limited to 'src')
-rw-r--r--src/com/android/browser/AddBookmarkPage.java2
-rw-r--r--src/com/android/browser/BrowserBookmarksPage.java2
-rw-r--r--src/com/android/browser/BrowserHistoryPage.java4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/com/android/browser/AddBookmarkPage.java b/src/com/android/browser/AddBookmarkPage.java
index f5b677a..d3c147c 100644
--- a/src/com/android/browser/AddBookmarkPage.java
+++ b/src/com/android/browser/AddBookmarkPage.java
@@ -410,7 +410,7 @@ public class AddBookmarkPage extends Activity
Folder thisFolder = folderStack.pop();
mCrumbs.pushView(thisFolder.Name, thisFolder);
}
- getLoaderManager().stopLoader(LOADER_ID_ALL_FOLDERS);
+ getLoaderManager().destroyLoader(LOADER_ID_ALL_FOLDERS);
break;
default:
break;
diff --git a/src/com/android/browser/BrowserBookmarksPage.java b/src/com/android/browser/BrowserBookmarksPage.java
index 3fc270e..825da33 100644
--- a/src/com/android/browser/BrowserBookmarksPage.java
+++ b/src/com/android/browser/BrowserBookmarksPage.java
@@ -482,7 +482,7 @@ public class BrowserBookmarksPage extends Fragment implements View.OnCreateConte
}
mCrumbs.setController(null);
mCrumbs = null;
- getLoaderManager().stopLoader(LOADER_BOOKMARKS);
+ getLoaderManager().destroyLoader(LOADER_BOOKMARKS);
}
@Override
diff --git a/src/com/android/browser/BrowserHistoryPage.java b/src/com/android/browser/BrowserHistoryPage.java
index 01e3c21..d8e8177 100644
--- a/src/com/android/browser/BrowserHistoryPage.java
+++ b/src/com/android/browser/BrowserHistoryPage.java
@@ -224,8 +224,8 @@ public class BrowserHistoryPage extends Fragment
public void onDestroy() {
super.onDestroy();
CombinedBookmarkHistoryView.getIconListenerSet().removeListener(mIconReceiver);
- getLoaderManager().stopLoader(LOADER_HISTORY);
- getLoaderManager().stopLoader(LOADER_MOST_VISITED);
+ getLoaderManager().destroyLoader(LOADER_HISTORY);
+ getLoaderManager().destroyLoader(LOADER_MOST_VISITED);
}
@Override