diff options
Diffstat (limited to 'src/com/android/browser/provider/BrowserProvider2.java')
-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); } |