summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/AccountsChangedReceiver.java
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2011-02-01 12:57:06 -0800
committerJohn Reck <jreck@google.com>2011-02-04 13:37:17 -0800
commit99c6d333106cc0fb3c028b5f8d1ff1f5cf726ca2 (patch)
treef60a6aa9058be7028ef089b27e5c132545d0d96d /src/com/android/browser/AccountsChangedReceiver.java
parent4daecf299171596ff8d1c2f1b845be810fd87fb1 (diff)
downloadpackages_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/AccountsChangedReceiver.java')
-rw-r--r--src/com/android/browser/AccountsChangedReceiver.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/browser/AccountsChangedReceiver.java b/src/com/android/browser/AccountsChangedReceiver.java
index 92d6ad0..a34180a 100644
--- a/src/com/android/browser/AccountsChangedReceiver.java
+++ b/src/com/android/browser/AccountsChangedReceiver.java
@@ -16,6 +16,8 @@
package com.android.browser;
+import com.android.browser.widget.BookmarkThumbnailWidgetProvider;
+
import android.accounts.Account;
import android.accounts.AccountManager;
import android.content.BroadcastReceiver;
@@ -55,6 +57,7 @@ public class AccountsChangedReceiver extends BroadcastReceiver {
ContentResolver.setSyncAutomatically(a, BrowserContract.AUTHORITY, false);
ContentResolver.setIsSyncable(a, BrowserContract.AUTHORITY, 0);
}
+ BookmarkThumbnailWidgetProvider.refreshWidgets(context, true);
}
}