diff options
author | John Reck <jreck@google.com> | 2011-02-01 12:57:06 -0800 |
---|---|---|
committer | John Reck <jreck@google.com> | 2011-02-04 13:37:17 -0800 |
commit | 99c6d333106cc0fb3c028b5f8d1ff1f5cf726ca2 (patch) | |
tree | f60a6aa9058be7028ef089b27e5c132545d0d96d /src/com/android/browser/preferences/GeneralPreferencesFragment.java | |
parent | 4daecf299171596ff8d1c2f1b845be810fd87fb1 (diff) | |
download | packages_apps_browser-99c6d333106cc0fb3c028b5f8d1ff1f5cf726ca2.zip packages_apps_browser-99c6d333106cc0fb3c028b5f8d1ff1f5cf726ca2.tar.gz packages_apps_browser-99c6d333106cc0fb3c028b5f8d1ff1f5cf726ca2.tar.bz2 |
Get the widget off of startservice
Bug: 3379120
Now with drastically lower memory usage as well!
Change-Id: Iff16d2acceba3c8a983a51ec03a31a39ac6a12ed
Diffstat (limited to 'src/com/android/browser/preferences/GeneralPreferencesFragment.java')
-rw-r--r-- | src/com/android/browser/preferences/GeneralPreferencesFragment.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/browser/preferences/GeneralPreferencesFragment.java b/src/com/android/browser/preferences/GeneralPreferencesFragment.java index b6228dc..33bfd9c 100644 --- a/src/com/android/browser/preferences/GeneralPreferencesFragment.java +++ b/src/com/android/browser/preferences/GeneralPreferencesFragment.java @@ -21,6 +21,7 @@ import com.android.browser.BrowserHomepagePreference; import com.android.browser.BrowserPreferencesPage; import com.android.browser.BrowserSettings; import com.android.browser.R; +import com.android.browser.widget.BookmarkThumbnailWidgetProvider; import android.accounts.Account; import android.accounts.AccountManager; @@ -125,6 +126,7 @@ public class GeneralPreferencesFragment extends PreferenceFragment if (BrowserBookmarksPage.PREF_ACCOUNT_NAME.equals(key) || BrowserBookmarksPage.PREF_ACCOUNT_TYPE.equals(key)) { refreshUi(); + BookmarkThumbnailWidgetProvider.refreshWidgets(getActivity(), true); } } |