diff options
author | John Reck <jreck@google.com> | 2011-06-17 14:37:05 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-06-17 14:37:05 -0700 |
commit | b3fb20e6dfa8778846af067b67006c685e30acd6 (patch) | |
tree | ed9fea6e0dba30a69d105a42fc42bca82aed58c8 /src/com/android/browser/provider | |
parent | 61a8e3508d8c9a885b9b064f70a4ce23b698d372 (diff) | |
parent | 5a77537f31715ac32112f47a569eded13dce5f1b (diff) | |
download | packages_apps_Browser-b3fb20e6dfa8778846af067b67006c685e30acd6.zip packages_apps_Browser-b3fb20e6dfa8778846af067b67006c685e30acd6.tar.gz packages_apps_Browser-b3fb20e6dfa8778846af067b67006c685e30acd6.tar.bz2 |
Merge "Delete bookmarks when sync account is removed"
Diffstat (limited to 'src/com/android/browser/provider')
-rw-r--r-- | src/com/android/browser/provider/BrowserProvider2.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/com/android/browser/provider/BrowserProvider2.java b/src/com/android/browser/provider/BrowserProvider2.java index 445260f..284d9bc 100644 --- a/src/com/android/browser/provider/BrowserProvider2.java +++ b/src/com/android/browser/provider/BrowserProvider2.java @@ -17,6 +17,7 @@ package com.android.browser.provider; import android.accounts.Account; +import android.accounts.AccountManager; import android.app.SearchManager; import android.content.ContentResolver; import android.content.ContentUris; @@ -1604,6 +1605,12 @@ public class BrowserProvider2 extends SQLiteContentProvider { break; } + case ACCOUNTS: { + Account[] accounts = AccountManager.get(getContext()).getAccounts(); + mSyncHelper.onAccountsChanged(mDb, accounts); + break; + } + default: { throw new UnsupportedOperationException("Unknown update URI " + uri); } |